无法在eclipse火星上部署ejb3项目

时间:2017-01-07 17:18:09

标签: eclipse glassfish ejb-3.0

我正在eclipse mars上开发一个EJB 3.0应用程序。我无法在glassfish 4服务器上部署项目。我使用的是JDK 7.

我的服务器日志:

cannot Deploy SampleEJBProject
deploy is failing=Error occurred during deployment: Exception while deploying the app [SampleEJBProject] : A MultiException has 2 exceptions.  They are:
1. com.sun.enterprise.module.ResolveError: Failed to start OSGiModuleImpl:: Bundle = [org.glassfish.main.web.weld-integration [296]], State = [RESOLVED]
2. java.lang.IllegalStateException: Could not load descriptor SystemDescriptor(
    implementation=org.glassfish.weld.WeldContainer
    name=org.glassfish.weld.WeldContainer
    contracts={org.glassfish.weld.WeldContainer,org.glassfish.api.container.Container}
    scope=javax.inject.Singleton
    qualifiers={}
    descriptorType=CLASS
    descriptorVisibility=NORMAL
    metadata=Bundle-SymbolicName={org.glassfish.main.web.weld-integration},Bundle-Version={4.1.1}
    rank=0
    loader=OsgiPopulatorPostProcessor.HK2Loader(OSGiModuleImpl:: Bundle = [org.glassfish.main.web.weld-integration [296]], State = [RESOLVED],377949866)
    proxiable=null
    proxyForSameScope=null
    analysisName=null
    id=414
    locatorId=0
    identityHashCode=2094253683
    reified=false)
. Please see server.log for more details.

请帮帮我。 我指的是开发应用程序的链接

https://www.genuitec.com/products/myeclipse/learning-center/javaee/myeclipse-ejb-3-x-tutorial/

1 个答案:

答案 0 :(得分:0)

问题自动得到解决。

相关问题