Note that there are some explanatory texts on larger screens.

plurals
  1. POcreating maven project error
    text
    copied!<pre><code>mvn archetype:generate -B -DgroupId=com.my-company.my-project -DartifactId=my-project-domain -DpackageName=com.company.project.domain -DarchetypeGroupId=org.appfuse.archetypes -DarchetypeArtifactId=appfuse-basic-struts -DremoteRepositories=http://maven.rodcoffin.com/repo -DarchetypeVersion=1.0.0 </code></pre> <p>I typed the above command to create my maven-hibernate project. After this i went into my project folder and typed <code>mvn eclipse:eclipse</code> followed by <code>mvn clean install</code></p> <p>thereafter, i in the eclipse IDE, i clicked <code>import --&gt; existing projects in to workspace</code> but i couldn't open this because the pom.xml wasn't there.</p> <p>Note: When i typed <code>mvn clean install</code> i got the following error</p> <pre><code>[ERROR] Failed to execute goal org.codehaus.mojo:aspectj-maven-plugin:1.0:compil e (default) on project my-project-domain: The artifact org.springframework:sprin g-aspects referenced in aspectj plugin as an aspect library, is not found the pr oject dependencies -&gt; [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e swit ch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please rea d the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionE xception </code></pre> <p><strong>EDIT</strong></p> <pre><code>[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2. 3.1:compile (default-compile) on project my-project-domain: Compilation failure [ERROR] \Users\Administrator\Documents\MYPROJECTS\my-project-domain\src\main \java\com\my-company\my-project\App.java:[1,14] ';' expected [ERROR] -&gt; [Help 1] </code></pre> <p>Even though it says there's a missing <code>;</code> sign, when i checked the <code>App.java</code> file i didn't find any syntax errors.</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload