[jbossws-cxf-users] [JBoss Web Services CXF] - javax.inject.DefinitionException: import not a Java type

suresh.korlapati do-not-reply at jboss.com
Mon Oct 12 16:29:36 EDT 2009


All, 

I am trying to deploy webservices using CXF on JBoss5.1.0. Getting the below error. It works well in JBoss4.2.2. 

Any help is highly appreciated....

DEPLOYMENTS IN ERROR:
  Deployment "vfszip:/opt/DEPLOYMENTS/rscdevtb1.com/jboss/server/rsc/deploy/cxf-projects.ear/_WebBeansBootstrapBean" is in error due to the following reason(s): javax.inject.DefinitionException: import not a Java type

        at org.jboss.deployers.plugins.deployers.DeployersImpl.checkComplete(DeployersImpl.java:993)
        at org.jboss.deployers.plugins.deployers.DeployersImpl.checkComplete(DeployersImpl.java:939)
        at org.jboss.deployers.plugins.main.MainDeployerImpl.checkComplete(MainDeployerImpl.java:873)
        at org.jboss.system.server.profileservice.repository.MainDeployerAdapter.checkComplete(MainDeployerAdapter.java:128)
        at org.jboss.system.server.profileservice.hotdeploy.HDScanner.scan(HDScanner.java:369)
        at org.jboss.system.server.profileservice.hotdeploy.HDScanner.run(HDScanner.java:255)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:417)
        at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:280)
        at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:135)
        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:65)
        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:146)
        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:170)
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:651)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:676)
        at java.lang.Thread.run(Thread.java:595)

View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259952#4259952

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259952


More information about the jbossws-cxf-users mailing list