I have an issue creating a new Maven Web Application on Netbeans 8.2.
I create the project, and the initial build fails in what seems to be related to another closed maven project 'r2rml' with the follwing error - Failed to execute goal org.apache.maven.plugins:maven-archetype-plugin:3.0.1:generate (default-cli) on project r2rml: org.apache.maven.archetype.exception.InvalidPackaging: Unable to add module to the current project as it is not of packaging type 'pom' -> [Help 1]).
I build again, and it builds correctly, but I can still only see a project and dependencies folder. No web folder, no source folder.
Looking at a video tutorial, I should be seeing both of these. I tried creating another normal Java Web Application project, and copying and pasting the src and web folders from this, but these refuse to show up in the IDE.
What am I doing wrong?
Aucun commentaire:
Enregistrer un commentaire