Steven Swart created NETBEANS-1017:
--------------------------------------

             Summary: Can't run WAR in Tomcat
                 Key: NETBEANS-1017
                 URL: https://issues.apache.org/jira/browse/NETBEANS-1017
             Project: NetBeans
          Issue Type: Bug
          Components: javaee - Maven
    Affects Versions: 9.0
         Environment: OSX El Capitan - version 10.11.6 (15G21013)

> java -version
java version "10.0.1" 2018-04-17
Java(TM) SE Runtime Environment 18.3 (build 10.0.1+10)
Java HotSpot(TM) 64-Bit Server VM 18.3 (build 10.0.1+10, mixed mode)

mvn -version
Apache Maven 3.5.4 (1edded0938998edf8bf061f1ceb3cfdeccf443fe; 
2018-06-17T20:33:14+02:00)
Maven home: /usr/local/Cellar/maven/3.5.4/libexec
Java version: 10.0.1, vendor: Oracle Corporation, runtime: 
/Library/Java/JavaVirtualMachines/jdk-10.0.1.jdk/Contents/Home
Default locale: en_ZA, platform encoding: UTF-8
OS name: "mac os x", version: "10.11.6", arch: "x86_64", family: "mac"

            Reporter: Steven Swart
         Attachments: IDE.log, UI.log, pom.xml

When trying to use run project, with a WAR build on Tomcat, I am unable to run 
the project. I get the following exception reported:

java.lang.UnsupportedOperationException: command: clean, JavaRunner impls: 
[org.netbeans.modules.java.source.ant.ProjectRunnerImpl@e56c0d4]
    at 
org.netbeans.api.java.project.runner.JavaRunner.execute(JavaRunner.java:303)
    at 
org.netbeans.modules.maven.cos.CosChecker.cleanGeneratedClassfiles(CosChecker.java:295)
    at 
org.netbeans.modules.maven.cos.CosChecker.touchProject(CosChecker.java:482)
    at 
org.netbeans.modules.maven.cos.CosChecker.checkRunConfig(CosChecker.java:137)
    at 
org.netbeans.modules.maven.execute.MavenCommandLineExecutor.run(MavenCommandLineExecutor.java:213)
[catch] at 
org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:128)

 

 

 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

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

Reply via email to