本地启动没问题 发到服务器上报错at weblogic.application.utils.ClassFinderMetaDataEnumaration.hasMoreElements(Clas...

weblogic.application.ModuleException: Failed to load webapp: bdc-dj-server-1.0.0 because of DeploymentException: java.lang.NullPointerException

        at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:397)

        at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedModuleDriver.java:176)

        at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:199)

        at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:517)

        at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)

        Truncated. see log file for complete stacktrace

Caused By: java.lang.NullPointerException

        at weblogic.application.utils.ClassFinderMetaDataEnumaration.hasMoreElements(ClassFinderMetaDataEnumaration.java:32)

        at weblogic.servlet.internal.WebAnnotationProcessorImpl.getAnnotatedClasses(WebAnnotationProcessorImpl.java:139)

        at weblogic.servlet.internal.War.getAnnotatedClasses(War.java:1038)

        at weblogic.servlet.internal.WebAppServletContext$ServletContextWebAppHelper.getAnnotatedClasses(WebAppServletContext.java:3866)

        at weblogic.servlet.internal.WebAnnotationProcessorImpl.processAnnotations(WebAnnotationProcessorImpl.java:84)

        Truncated. see log file for complete stacktrace


原来是应为用360压缩的zip文件有问题,如果用rar压缩 就没问题  好坑啊压缩方式也会影响项目启动

你可能感兴趣的:(本地启动没问题 发到服务器上报错at weblogic.application.utils.ClassFinderMetaDataEnumaration.hasMoreElements(Clas...)