• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Tim Cooke
  • Junilu Lacar
Sheriffs:
  • Rob Spoor
  • Devaka Cooray
  • Jeanne Boyarsky
Saloon Keepers:
  • Jesse Silverman
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
  • Tim Holloway
Bartenders:
  • Jj Roberts
  • Al Hobbs
  • Piet Souris

Netbeans With Ant won't even compile its own default servlet

 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have a new instillation of Netbeans, running Tomcat. Netbeans will not even
compile its own default servlet with ant. I have tried different machines, different
installations.

The error message is:

-Xbootclasspath/p: not allowed with target 12

in build.wml we have:

<condition else="" property="endorsed.classpath.cmd.line.arg" value="-Xbootclasspath/p:'${toString:endorsed.classpath.path}'">
           <and>
               <isset property="endorsed.classpath"/>
               <length length="0" string="${endorsed.classpath}" when="greater"/>
           </and>
       </condition>

I think that is where the problem is, could be somewhere else.

Any Help?

Thanks
 
Saloon Keeper
Posts: 7162
165
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
See here: https://stackoverflow.com/questions/56272364/error-option-xbootclasspath-p-not-allowed-with-target-12-netbeans-11-0
 
Mark Lyn
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Wow, Tim,

Thanks for the quick reply,
I will look at this now.

Thanks
 
reply
    Bookmark Topic Watch Topic
  • New Topic