Simply create a java
directory under main
(i.e. src/main/java
) and right-click on your project and select Maven > Update Project Configuration.
More Related Contents:
- How to update maven repository in Eclipse?
- What causes imported Maven project in Eclipse to use Java 1.5 instead of Java 1.6 by default and how can I ensure it doesn’t?
- “Faceted Project Problem (Java Version Mismatch)” error message
- How to configure Eclipse build path to use Maven dependencies?
- No compiler is provided in this environment. Perhaps you are running on a JRE rather than a JDK?
- Could not calculate build plan: Plugin org.apache.maven.plugins:maven-resources-plugin:2.5 or one of its dependencies could not be resolved
- Convert Existing Eclipse Project to Maven Project
- Maven: best way of linking custom external JAR to my project?
- Warning – Build path specifies execution environment J2SE-1.4
- Building executable jar with maven?
- Eclipse – java.lang.ClassNotFoundException
- Maven “build path specifies execution environment J2SE-1.5”, even though I changed it to 1.7
- How to solve maven 2.6 resource plugin dependency?
- How to reference javadocs to dependencies in Maven’s eclipse plugin when javadoc not attached to dependency
- get rid of POM not found warning for org.eclipse.m2e:lifecycle-mapping
- Maven archetype for simple Servlet application
- m2Eclipse plugin: What does ‘Resolve Workspace Artifacts’ do?
- Best way to debug Java web application packaged as a WAR using Eclipse and Maven?
- Can I add jars to Maven 2 build classpath without installing them?
- How to put a jar in classpath in Eclipse? [duplicate]
- Eclipse Error: “Failed to connect to remote VM”
- Maven: How to change path to target directory from command line?
- Is there a way to automatically generate getters and setters in Eclipse?
- Using Eclipse Java Compiler (ecj) in maven builds
- Eclipse: Exclude specific packages when autocompleting a class name
- Unable to complete the scan for annotations for web application [/app] due to a StackOverflowError
- Exception java.lang.UnsatisfiedLinkError when trying to open allure-reports in webdriver.io project
- Why does Maven have such a bad rep? [closed]
- Using assertArrayEquals in unit tests
- Setting the correct PATH for Eclipse