Uploaded image for project: 'CXF'
  1. CXF
  2. CXF-1256

java.lang.SecurityException when i use cxf-codegen:wsdl2java for maven in netbeans ide

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0.3
    • 2.0.4
    • None
    • None
    • Maven netbeans 6.0

    Description

      [cxf-codegen:wsdl2java

      {execution: compile-backoffice-wsdl}

      ]
      ------------------------------------------------------------------------
      [ERROR]FATAL ERROR
      ------------------------------------------------------------------------
      null
      ------------------------------------------------------------------------
      Trace
      java.lang.SecurityException

      at org.netbeans.TopSecurityManager.checkSetSecurityManager(TopSecurityManager.java:373)
      at org.netbeans.TopSecurityManager.checkPermission(TopSecurityManager.java:337)
      at java.lang.System.setSecurityManager0(System.java:253)
      at java.lang.System.setSecurityManager(System.java:245)
      at org.apache.cxf.maven_plugin.WSDL2JavaMojo.execute(WSDL2JavaMojo.java:145)
      at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:417)
      at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:610)
      at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:551)
      at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:530)
      at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:309)
      at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:276)
      at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:143)
      at org.codehaus.mevenide.netbeans.embedder.exec.MyLifecycleExecutor.execute(MyLifecycleExecutor.java:92)
      at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:393)
      at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:182)
      at org.apache.maven.embedder.MavenEmbedder.execute(MavenEmbedder.java:760)
      at org.codehaus.mevenide.netbeans.execute.MavenJavaExecutor.run(MavenJavaExecutor.java:196)
      at org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:151)

      [Update]
      I received this error when i try to generate source code from wsdl i i'm in the netbeans 6.0 ide

      This error come only if is use the maven version of the plugin.

      If i use a external problem

      Attachments

        Activity

          People

            dkulp Daniel Kulp
            asmodai1973 Laurent Boucher
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: