You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@netbeans.apache.org by Kris McGlinn <Kr...@scss.tcd.ie> on 2018/08/10 12:01:44 UTC

Issue with Netbeans when creating a Maven Web Application

Hi There,

Not sure if this is the correct mailing list, but I wanted to report a 
problem when creating a new Maven Web Application on Netbeans 8.2.

  I create the project, and I can get it to successfully build (although 
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 building again, and it builds, but I can 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?

Kind regards,

Kris.

-- 
Kris McGlinn, Ph.D.
Research Fellow,
ADAPT Centre,
F 33, School of Computer Science and Statistics,
Trinity College Dublin
+353 (0)1 896 4992


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@netbeans.apache.org
For additional commands, e-mail: users-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists


Re: Issue with Netbeans when creating a Maven Web Application

Posted by John McDonnell <mc...@gmail.com>.
Hi Kris,

First and foremost... Its great to see another Irish NetBeans user on
the mailing lists :)

Secondly, I use 8.2 while at work and created a new Maven Web project with
no issues. Is this something you can fire up on GitHub (or any
alternative), and we can have a closer look at what the issue is?

I suspect it's not IDE related, and might more so be an issue with the
maven configuration, but am willing to take a look if needed.

Regards

John



On Fri, 10 Aug 2018 at 13:00, Kris McGlinn <Kr...@scss.tcd.ie> wrote:

> Hi There,
>
> Not sure if this is the correct mailing list, but I wanted to report a
> problem when creating a new Maven Web Application on Netbeans 8.2.
>
>   I create the project, and I can get it to successfully build (although
> 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 building again, and it builds, but I can 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?
>
> Kind regards,
>
> Kris.
>
> --
> Kris McGlinn, Ph.D.
> Research Fellow,
> ADAPT Centre,
> F 33, School of Computer Science and Statistics,
> Trinity College Dublin
> +353 (0)1 896 4992
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@netbeans.apache.org
> For additional commands, e-mail: users-help@netbeans.apache.org
>
> For further information about the NetBeans mailing lists, visit:
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>
>