Uploaded image for project: 'NetBeans'
  1. NetBeans
  2. NETBEANS-1017

Can't run WAR in Tomcat

Log workAgile BoardRank to TopRank to BottomAttach filesAttach ScreenshotAdd voteVotersWatch issueWatchersCreate sub-taskConvert to sub-taskLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 9.0
    • Fix Version/s: None
    • Component/s: javaee - Maven
    • Labels:
    • Environment:

      Description

      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)

       

       

       

        Attachments

        1. UI.log
          235 kB
          Steven Swart
        2. pom.xml
          6 kB
          Steven Swart
        3. IDE.log
          109 kB
          Steven Swart

          Activity

          $i18n.getText('security.level.explanation', $currentSelection) Viewable by All Users
          Cancel

            People

              Dates

              • Created:
                Updated:

                Issue deployment