EJB 项目部署失败
org.jboss.deployers.spi.DeploymentException: URL vfsfile:/C:/jboss-5.0.0.Beta4/s
erver/default/deploy/jywj.ear/jywj.war/ deployment failed
at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeploy
Internal(TomcatDeployment.java:362)
at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeploy
(TomcatDeployment.java:142)
at org.jboss.web.deployers.AbstractWarDeployment.start(AbstractWarDeploy
ment.java:347)
at org.jboss.web.deployers.WebModule.startModule(WebModule.java:89)
at org.jboss.web.deployers.WebModule.start(WebModule.java:67)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
er.java:157)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)
at org.jboss.system.microcontainer.ServiceProxy.invoke(ServiceProxy.java
:184)
at $Proxy5.start(Unknown Source)
at org.jboss.system.microcontainer.StartStopLifecycleAction.installActio
n(StartStopLifecycleAction.java:42)
at org.jboss.system.microcontainer.StartStopLifecycleAction.installActio
n(StartStopLifecycleAction.java:37)
at org.jboss.dependency.plugins.action.SimpleControllerContextAction.sim
pleInstallAction(SimpleControllerContextAction.java:62)
at org.jboss.dependency.plugins.action.AccessControllerContextAction.ins
tall(AccessControllerContextAction.java:71)
at org.jboss.dependency.plugins.AbstractControllerContextActions.install
(AbstractControllerContextActions.java:51)
at org.jboss.dependency.plugins.AbstractControllerContext.install(Abstra
ctControllerContext.java:327)
at org.jboss.system.microcontainer.ServiceControllerContext.install(Serv
iceControllerContext.java:255)
at org.jboss.dependency.plugins.AbstractController.install(AbstractContr
oller.java:1309)
at org.jboss.dependency.plugins.AbstractController.incrementState(Abstra
ctController.java:734)
at org.jboss.dependency.plugins.AbstractController.resolveContexts(Abstr
actController.java:862)
at org.jboss.dependency.plugins.AbstractController.resolveContexts(Abstr
actController.java:784)
at org.jboss.dependency.plugins.AbstractController.change(AbstractContro
ller.java:622)
at org.jboss.dependency.plugins.AbstractController.change(AbstractContro
ller.java:411)
at org.jboss.system.ServiceController.doChange(ServiceController.java:65
9)
at org.jboss.system.ServiceController.start(ServiceController.java:431)
at org.jboss.system.deployers.ServiceDeployer.start(ServiceDeployer.java
:150)
at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.jav
a:108)
at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.jav
a:46)
at org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.i
nternalDeploy(AbstractSimpleRealDeployer.java:65)
at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(
AbstractRealDeployer.java:50)
at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(Deployer
Wrapper.java:169)
at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFi
rst(DeployersImpl.java:853)
at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFi
rst(DeployersImpl.java:874)
at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFi
rst(DeployersImpl.java:906)
at org.jboss.deployers.plugins.deployers.DeployersImpl.install(Deployers
Impl.java:794)
at org.jboss.dependency.plugins.AbstractControllerContext.install(Abstra
ctControllerContext.java:327)
at org.jboss.dependency.plugins.AbstractController.install(AbstractContr
oller.java:1309)
at org.jboss.dependency.plugins.AbstractController.incrementState(Abstra
ctController.java:734)
at org.jboss.dependency.plugins.AbstractController.resolveContexts(Abstr
actController.java:862)
at org.jboss.dependency.plugins.AbstractController.resolveContexts(Abstr
actController.java:784)
at org.jboss.dependency.plugins.AbstractController.change(AbstractContro
ller.java:622)
at org.jboss.dependency.plugins.AbstractController.change(AbstractContro
ller.java:411)
at org.jboss.deployers.plugins.deployers.DeployersImpl.process(Deployers
Impl.java:498)
at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeploye
rImpl.java:506)
at org.jboss.system.server.profileservice.ProfileServiceBootstrap.loadPr
ofile(ProfileServiceBootstrap.java:246)
at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(
ProfileServiceBootstrap.java:131)
at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:
408)
at org.jboss.Main.boot(Main.java:208)
at org.jboss.Main$1.run(Main.java:534)
at java.lang.Thread.run(Thread.java:619)
哪位高手帮帮忙
[解决办法]
连代码都没有,怎么看啊?这javaee的错误看起来不是那么直观,没有代码不好下结论啊
[解决办法]
部署失败,看看是不是你的配置哪里有问题,把代码贴出来看看!
[解决办法]
配置问题
[解决办法]
我以前也出现过这样的问题,但换一个workspace工作空间就好了。 好奇怪的!