You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@netbeans.apache.org by Bob Senkewicz <se...@optonline.net> on 2018/09/20 14:45:51 UTC

Re: [IDE Problem] , looking for a little help

All,

I will first apologize for the simplicity of my issue, I am brand new to 
using NetBeans and Java.

I have downloaded and installed the latest version of NetBeans. Here is 
the build info from the About page :

*Product Version:* Apache NetBeans IDE 9.0 (Build 
incubator-netbeans-release-334-on-20180708)

*Updates:* NetBeans IDE is updated to version NetBeans 8.2 Patch 2 
<http://wiki.netbeans.org/NetBeans8.2PatchesInfo>

*Java:* 10.0.2; Java HotSpot(TM) 64-Bit Server VM 10.0.2+13

*Runtime:* Java(TM) SE Runtime Environment 10.0.2+13

*System:* Windows 10 version 10.0 running on amd64; Cp1252; en_US (nb)

*User directory:* C:\Users\nostr\AppData\Roaming\NetBeans\9.0

*Cache directory:* C:\Users\nostr\AppData\Local\NetBeans\Cache\9.0


I am running in to a very basic problem trying to build any application. 
I get the following error and do not know how to correct it.

C:\Users\nostr\Documents\NetBeansProjects\testApp\nbproject\build-impl.xml:1045: 
Problem: failed to create task or type nbdeploy
Cause: The name is undefined.
Action: Check the spelling.
Action: Check that any custom tasks/types have been declared.
Action: Check that any <presetdef>/<macrodef> declarations have taken place.
BUILD FAILED (total time: 0 seconds)

Any assistance from the community is GREATLY appreciated!

Thanks,

Bob Senkewicz

Re: [IDE Problem] , JSP compile / Java Version issue with NetBeans 9?

Posted by John McDonnell <mc...@gmail.com>.
Sorry didn't meant to say "Jetty" in the last email, more that Java 8.2 was
released before Java 9 - Hence some 8.2 plugins might not work.

Have you tried cloning Apache NetBeans, building from source and attempting
the same there?

John

On Fri, 21 Sep 2018 at 15:50, John McDonnell <mc...@gmail.com>
wrote:

> Hi Bob,
>
> I don't know enough about JSP and how it works with Java 9 (or any Java
> for that matter), but from a quick google, and some NetBeans knowledge, I
> believe it doesn't work because the version of Jetty in the 8.2 Java EE
> plugins was from before java 9 was released (NetBeans 8.2 - 03/10/16 and
> Java 9 - 27/07/17).
>
> You might want to raise a JIRA ticket[1] against NetBeans, to help ensure
> Java 9 support when Java EE is enabled in Apache NetBeans.
>
> Regards
>
> [1]: https://issues.apache.org/jira/projects/NETBEANS/issues
>
> On Fri, 21 Sep 2018 at 14:27, Bob Senkewicz <se...@optonline.net> wrote:
>
>> Attempting to run a very simple JSP (using context menu for the file
>> from the Project window to run a single file - a SHIFT + F6 action) I
>> ran in to the following error.
>>
>> Exception in thread "main" java.lang.IllegalArgumentException: PWC6309:
>> Illegal compilerSourceVM: 10
>>      at org.apache.jasper.JspC.setCompilerSourceVM(JspC.java:724)
>>      at org.netbeans.modules.web.project.ant.JspC.main(JspC.java:80)
>>      at
>> org.netbeans.modules.web.project.ant.JspCSingle.main(JspCSingle.java:119)
>> C:\murach\servlet_and_jsp\netbeans\ex_starts\testApp\nbproject\build-impl.xml:936:
>>
>> Java returned: 1
>>
>> A web search showed a similar error occurred back in earlier versions of
>> NetBeans (6 and 7) where the IDE was attempting to use a version of the
>> compiler not on the system or mismatched compiler and source. In my case
>> it says it is attempting to use version 10 (from the first line of the
>> error).
>>
>> My platform is Win 10, NB 9, JDK 10, Tomcat 8.5
>>
>> Do I have a problem with one of the Plugins or a configuration / setup
>> issue?
>>
>> Thanks for your help,
>>
>> Bob Senkewicz
>>
>>
>> ---------------------------------------------------------------------
>> 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: [IDE Problem] , JSP compile / Java Version issue with NetBeans 9?

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

I don't know enough about JSP and how it works with Java 9 (or any Java for
that matter), but from a quick google, and some NetBeans knowledge, I
believe it doesn't work because the version of Jetty in the 8.2 Java EE
plugins was from before java 9 was released (NetBeans 8.2 - 03/10/16 and
Java 9 - 27/07/17).

You might want to raise a JIRA ticket[1] against NetBeans, to help ensure
Java 9 support when Java EE is enabled in Apache NetBeans.

Regards

[1]: https://issues.apache.org/jira/projects/NETBEANS/issues

On Fri, 21 Sep 2018 at 14:27, Bob Senkewicz <se...@optonline.net> wrote:

> Attempting to run a very simple JSP (using context menu for the file
> from the Project window to run a single file - a SHIFT + F6 action) I
> ran in to the following error.
>
> Exception in thread "main" java.lang.IllegalArgumentException: PWC6309:
> Illegal compilerSourceVM: 10
>      at org.apache.jasper.JspC.setCompilerSourceVM(JspC.java:724)
>      at org.netbeans.modules.web.project.ant.JspC.main(JspC.java:80)
>      at
> org.netbeans.modules.web.project.ant.JspCSingle.main(JspCSingle.java:119)
> C:\murach\servlet_and_jsp\netbeans\ex_starts\testApp\nbproject\build-impl.xml:936:
>
> Java returned: 1
>
> A web search showed a similar error occurred back in earlier versions of
> NetBeans (6 and 7) where the IDE was attempting to use a version of the
> compiler not on the system or mismatched compiler and source. In my case
> it says it is attempting to use version 10 (from the first line of the
> error).
>
> My platform is Win 10, NB 9, JDK 10, Tomcat 8.5
>
> Do I have a problem with one of the Plugins or a configuration / setup
> issue?
>
> Thanks for your help,
>
> Bob Senkewicz
>
>
> ---------------------------------------------------------------------
> 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
>
>

[IDE Problem] , JSP compile / Java Version issue with NetBeans 9?

Posted by Bob Senkewicz <se...@optonline.net>.
Attempting to run a very simple JSP (using context menu for the file 
from the Project window to run a single file - a SHIFT + F6 action) I 
ran in to the following error.

Exception in thread "main" java.lang.IllegalArgumentException: PWC6309: 
Illegal compilerSourceVM: 10
     at org.apache.jasper.JspC.setCompilerSourceVM(JspC.java:724)
     at org.netbeans.modules.web.project.ant.JspC.main(JspC.java:80)
     at 
org.netbeans.modules.web.project.ant.JspCSingle.main(JspCSingle.java:119)
C:\murach\servlet_and_jsp\netbeans\ex_starts\testApp\nbproject\build-impl.xml:936: 
Java returned: 1

A web search showed a similar error occurred back in earlier versions of 
NetBeans (6 and 7) where the IDE was attempting to use a version of the 
compiler not on the system or mismatched compiler and source. In my case 
it says it is attempting to use version 10 (from the first line of the 
error).

My platform is Win 10, NB 9, JDK 10, Tomcat 8.5

Do I have a problem with one of the Plugins or a configuration / setup 
issue?

Thanks for your help,

Bob Senkewicz


---------------------------------------------------------------------
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: [IDE Problem] , looking for a little help

Posted by Bob Senkewicz <se...@optonline.net>.
All,

Thanks for the help. I had installed the Java EE Base from the 8.2 
repository but for some reason it did not 'Activate'. Once I activated 
it from the Plugin manager everything went through just fine.

Thanks again!

Bob

On 9/20/2018 11:46 AM, John McDonnell wrote:
> Hi Bob,
>
> What type of project are you working on?
>
> From a quick google, I came across:
> http://netbeans-org.1045718.n5.nabble.com/Problem-failed-to-create-task-or-type-nbdeploy-td5721833.html
> https://coderanch.com/t/454174/ide/module-deployed
>
> These read to me like your doing something Java EE related?
>
> If so, you should ensure that you have installed the Java EE related 
> libraries from the 8.2 plugin repository - Have a look at this blog 
> post to setup your local NetBeans to point to the 8.2 plugin repo:
> https://blogs.apache.org/netbeans/entry/what-s-happened-to-my
>
> Hope this helps
>
> John
>
> On Thu, 20 Sep 2018 at 15:46, Bob Senkewicz <senk@optonline.net 
> <ma...@optonline.net>> wrote:
>
>     All,
>
>     I will first apologize for the simplicity of my issue, I am brand
>     new to using NetBeans and Java.
>
>     I have downloaded and installed the latest version of NetBeans.
>     Here is the build info from the About page :
>
>     *Product Version:* Apache NetBeans IDE 9.0 (Build
>     incubator-netbeans-release-334-on-20180708)
>
>     *Updates:* NetBeans IDE is updated to version NetBeans 8.2 Patch 2
>     <http://wiki.netbeans.org/NetBeans8.2PatchesInfo>
>
>     *Java:* 10.0.2; Java HotSpot(TM) 64-Bit Server VM 10.0.2+13
>
>     *Runtime:* Java(TM) SE Runtime Environment 10.0.2+13
>
>     *System:* Windows 10 version 10.0 running on amd64; Cp1252; en_US
>     (nb)
>
>     *User directory:* C:\Users\nostr\AppData\Roaming\NetBeans\9.0
>
>     *Cache directory:* C:\Users\nostr\AppData\Local\NetBeans\Cache\9.0
>
>
>     I am running in to a very basic problem trying to build any
>     application. I get the following error and do not know how to
>     correct it.
>
>     C:\Users\nostr\Documents\NetBeansProjects\testApp\nbproject\build-impl.xml:1045:
>     Problem: failed to create task or type nbdeploy
>     Cause: The name is undefined.
>     Action: Check the spelling.
>     Action: Check that any custom tasks/types have been declared.
>     Action: Check that any <presetdef>/<macrodef> declarations have
>     taken place.
>     BUILD FAILED (total time: 0 seconds)
>
>     Any assistance from the community is GREATLY appreciated!
>
>     Thanks,
>
>     Bob Senkewicz
>

Re: [IDE Problem] , looking for a little help

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

What type of project are you working on?

From a quick google, I came across:
http://netbeans-org.1045718.n5.nabble.com/Problem-failed-to-create-task-or-type-nbdeploy-td5721833.html
https://coderanch.com/t/454174/ide/module-deployed

These read to me like your doing something Java EE related?

If so, you should ensure that you have installed the Java EE related
libraries from the 8.2 plugin repository - Have a look at this blog post to
setup your local NetBeans to point to the 8.2 plugin repo:
https://blogs.apache.org/netbeans/entry/what-s-happened-to-my

Hope this helps

John

On Thu, 20 Sep 2018 at 15:46, Bob Senkewicz <se...@optonline.net> wrote:

> All,
>
> I will first apologize for the simplicity of my issue, I am brand new to
> using NetBeans and Java.
>
> I have downloaded and installed the latest version of NetBeans. Here is
> the build info from the About page :
>
> *Product Version:* Apache NetBeans IDE 9.0 (Build
> incubator-netbeans-release-334-on-20180708)
>
> *Updates:* NetBeans IDE is updated to version NetBeans 8.2 Patch 2
> <http://wiki.netbeans.org/NetBeans8.2PatchesInfo>
>
> *Java:* 10.0.2; Java HotSpot(TM) 64-Bit Server VM 10.0.2+13
>
> *Runtime:* Java(TM) SE Runtime Environment 10.0.2+13
>
> *System:* Windows 10 version 10.0 running on amd64; Cp1252; en_US (nb)
>
> *User directory:* C:\Users\nostr\AppData\Roaming\NetBeans\9.0
>
> *Cache directory:* C:\Users\nostr\AppData\Local\NetBeans\Cache\9.0
>
>
> I am running in to a very basic problem trying to build any application. I
> get the following error and do not know how to correct it.
>
> C:\Users\nostr\Documents\NetBeansProjects\testApp\nbproject\build-impl.xml:1045:
> Problem: failed to create task or type nbdeploy
> Cause: The name is undefined.
> Action: Check the spelling.
> Action: Check that any custom tasks/types have been declared.
> Action: Check that any <presetdef>/<macrodef> declarations have taken
> place.
> BUILD FAILED (total time: 0 seconds)
>
> Any assistance from the community is GREATLY appreciated!
>
> Thanks,
> Bob Senkewicz
>