weblogic com.sun.jersey.spi.inject.Errors.ErrorMessagesException:null
2017-04-21 14:08
2151 查看
<2017-4-21 上午11时37分34秒 CST> <Error> <Deployer> <BEA-149202> <Encountered an exception while attempting to commit the 7 task for the application "_auto_generated_ear_".>
<2017-4-21 上午11时37分34秒 CST> <Warning> <Deployer> <BEA-149004> <Failures were detected while initiating start task for application "_auto_generated_ear_".>
<2017-4-21 上午11时37分34秒 CST> <Warning> <Deployer> <BEA-149078> <Stack trace for message 149004
weblogic.application.ModuleException: com.sun.jersey.spi.inject.Errors$ErrorMessagesException:com.sun.jersey.spi.inject.Errors.ErrorMessagesException:null
at com.sun.jersey.spi.inject.Errors.processErrorMessages(Errors.java:170)
at com.sun.jersey.spi.inject.Errors.postProcess(Errors.java:136)
at com.sun.jersey.spi.inject.Errors.processWithErrors(Errors.java:199)
at com.sun.jersey.server.impl.application.WebApplicationImpl.initiate(WebApplicationImpl.java:795)
at com.sun.jersey.server.impl.application.WebApplicationImpl.initiate(WebApplicationImpl.java:790)
Truncated. see log file for complete stacktrace
>
tomcat下没错,weblogic下有错误。com.sun.jersey.spi.inject.Errors.ErrorMessagesException:null
pom中增加
<dependency>
<groupId>com.sun.jersey</groupId>
<artifactId>jersey-bundle</artifactId>
<version>1.9</version>
</dependency>
<dependency>
<groupId>javax.ws.rs</groupId>
<artifactId>jsr311-api</artifactId>
<version>1.1.1</version>
</dependency>
即可
google得出来的
<2017-4-21 上午11时37分34秒 CST> <Warning> <Deployer> <BEA-149004> <Failures were detected while initiating start task for application "_auto_generated_ear_".>
<2017-4-21 上午11时37分34秒 CST> <Warning> <Deployer> <BEA-149078> <Stack trace for message 149004
weblogic.application.ModuleException: com.sun.jersey.spi.inject.Errors$ErrorMessagesException:com.sun.jersey.spi.inject.Errors.ErrorMessagesException:null
at com.sun.jersey.spi.inject.Errors.processErrorMessages(Errors.java:170)
at com.sun.jersey.spi.inject.Errors.postProcess(Errors.java:136)
at com.sun.jersey.spi.inject.Errors.processWithErrors(Errors.java:199)
at com.sun.jersey.server.impl.application.WebApplicationImpl.initiate(WebApplicationImpl.java:795)
at com.sun.jersey.server.impl.application.WebApplicationImpl.initiate(WebApplicationImpl.java:790)
Truncated. see log file for complete stacktrace
>
tomcat下没错,weblogic下有错误。com.sun.jersey.spi.inject.Errors.ErrorMessagesException:null
pom中增加
<dependency>
<groupId>com.sun.jersey</groupId>
<artifactId>jersey-bundle</artifactId>
<version>1.9</version>
</dependency>
<dependency>
<groupId>javax.ws.rs</groupId>
<artifactId>jsr311-api</artifactId>
<version>1.1.1</version>
</dependency>
即可
google得出来的
相关文章推荐
- 解决:Jersey搭建webService报错:com.sun.jersey.spi.inject.Errors$ErrorMessagesException
- Jersey: com.sun.jersey.spi.inject.Errors$ErrorMessagesException
- ClassNotFoundException Com.Sun.Jersey.Spi.Container.Servlet.ServletContainer
- ClassNotFoundException : Com.Sun.Jersey.Spi.Container.Servlet.ServletContainer
- ClassNotFoundException : Com.Sun.Jersey.Spi.Container.Servlet.ServletContainer解决
- ClassNotFoundException : Com.Sun.Jersey.Spi.Container.Servlet.ServletContainer解决
- java.lang.ClassNotFoundException: com.sun.jersey.spi.container.servlet.ServletContainer
- java.lang.ClassCastException: class com.sun.jersey.core.impl.provider.entity.XMLJAXBElementProvider$
- org.apache.ibatis.reflection.ReflectionException: Error instantiating class com.sun.tools.javac.util
- com.sun.mail.smtp.SMTPSendFailedException: 503 Error: need EHLO and AUTH first !
- com.sun.jersey.api.container.ContainerException: The ResourceConfig instance does not contain any ro
- com.sun.jersey.api.container.ContainerException: The ResourceConfig instance does not contain any ro
- com.sun.jersey.api.container.ContainerException: Exception obtaining parameters
- Jersey&Rest异常:javax.ws.rs.WebApplicationException: com.sun.jersey.api.MessageException
- Exception in thread "main" java.lang.NoClassDefFoundError: com/sun/jersey/api/client/config/ClientCo
- IDE fatal errors null NullPointerException: null at com.jetbrains.cidr.lang.workspace.OCWorkspaceMan
- btrace Error:com.sun.btrace.VerifierException: object creation is not allowed
- com.google.inject.CreationException: Guice creation errors
- eclipse调试时出现cannot connect to VM com.sun.jdi.connect.spi.ClosedConnectionException
- com.sun.jersey.api.container.ContainerException: The ResourceConfig instance