2016-10-16 84 views
2

私は、GLASSFISH Webサーバーを使用してEclipseで開発されたMAVEN jersey-quickstart-webappを使用して、angularjsフロントエンドを使用してRESTアプリケーションを構築しています。私はこのプロジェクトにいくつかの開発を行うために始めたとき、私は日食でサーバを起動してWebアプリケーションを配備しようとしたときに今日、私は日食エラーウィンドウに表示され、次のエラーメッセージが表示されました:org.apache.catalina.LifecycleException EclipseでGlassfishサーバーを起動しようとしています

cannot Deploy pododdle 
deploy is failing=Error occurred during deployment: Exception while loading the app : 
    java.lang.IllegalStateException: ContainerBase.addChild: start: 
    org.apache.catalina.LifecycleException: 
    org.apache.catalina.LifecycleException: 
    java.lang.ClassNotFoundException: com.pododdle.dao.CategoryListService. 
Please see server.log for more details. 

それは注意すべきですEclipseやGlassfishのJRE/JDKを故意に変更したことはありません。この質問を1としてorg.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/CollegeWebsite]]

:私はここにTomcatでこのエラーについて同様の質問を見てきました

ContainerBase.addChild: start: 
org.apache.catalina.LifecycleException: org.apache.catalina.LifecycleException: java.lang.ClassNotFoundException: com.pododdle.dao.CategoryListService 
at org.apache.catalina.core.StandardContext.start(StandardContext.java:5985) 
at com.sun.enterprise.web.WebModule.start(WebModule.java:691) 
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:1041) 
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:1024) 
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:747) 
at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:2286) 
at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1932) 
at com.sun.enterprise.web.WebApplication.start(WebApplication.java:139) 
at org.glassfish.internal.data.EngineRef.start(EngineRef.java:122) 
at org.glassfish.internal.data.ModuleInfo.start(ModuleInfo.java:291) 
at org.glassfish.internal.data.ApplicationInfo.start(ApplicationInfo.java:352) 
at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:500) 
at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:219) 
at org.glassfish.deployment.admin.DeployCommand.execute(DeployCommand.java:491) 
at com.sun.enterprise.v3.admin.CommandRunnerImpl$2$1.run(CommandRunnerImpl.java:539) 
at com.sun.enterprise.v3.admin.CommandRunnerImpl$2$1.run(CommandRunnerImpl.java:535) 
at java.security.AccessController.doPrivileged(Native Method) 
at javax.security.auth.Subject.doAs(Subject.java:360) 
at com.sun.enterprise.v3.admin.CommandRunnerImpl$2.execute(CommandRunnerImpl.java:534) 
at com.sun.enterprise.v3.admin.CommandRunnerImpl$3.run(CommandRunnerImpl.java:565) 
at com.sun.enterprise.v3.admin.CommandRunnerImpl$3.run(CommandRunnerImpl.java:557) 
at java.security.AccessController.doPrivileged(Native Method) 
at javax.security.auth.Subject.doAs(Subject.java:360) 
at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:556) 
at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:1464) 
at com.sun.enterprise.v3.admin.CommandRunnerImpl.access$1300(CommandRunnerImpl.java:109) 
at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1846) 
at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1722) 
at org.glassfish.deployment.admin.ReDeployCommand.execute(ReDeployCommand.java:131) 
at com.sun.enterprise.v3.admin.CommandRunnerImpl$2$1.run(CommandRunnerImpl.java:539) 
at com.sun.enterprise.v3.admin.CommandRunnerImpl$2$1.run(CommandRunnerImpl.java:535) 
at java.security.AccessController.doPrivileged(Native Method) 
at javax.security.auth.Subject.doAs(Subject.java:360) 
at com.sun.enterprise.v3.admin.CommandRunnerImpl$2.execute(CommandRunnerImpl.java:534) 
at com.sun.enterprise.v3.admin.CommandRunnerImpl$3.run(CommandRunnerImpl.java:565) 
at com.sun.enterprise.v3.admin.CommandRunnerImpl$3.run(CommandRunnerImpl.java:557) 
at java.security.AccessController.doPrivileged(Native Method) 
at javax.security.auth.Subject.doAs(Subject.java:360) 
at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:556) 
at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:1464) 
at com.sun.enterprise.v3.admin.CommandRunnerImpl.access$1300(CommandRunnerImpl.java:109) 
at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1846) 
at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1722) 
at com.sun.enterprise.v3.admin.AdminAdapter.doCommand(AdminAdapter.java:534) 
at com.sun.enterprise.v3.admin.AdminAdapter.onMissingResource(AdminAdapter.java:224) 
at org.glassfish.grizzly.http.server.StaticHttpHandlerBase.service(StaticHttpHandlerBase.java:189) 
at com.sun.enterprise.v3.services.impl.ContainerMapper$HttpHandlerCallable.call(ContainerMapper.java:459) 
at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:167) 
at org.glassfish.grizzly.http.server.HttpHandler.runService(HttpHandler.java:206) 
at org.glassfish.grizzly.http.server.HttpHandler.doHandle(HttpHandler.java:180) 
at org.glassfish.grizzly.http.server.HttpServerFilter.handleRead(HttpServerFilter.java:235) 
at org.glassfish.grizzly.filterchain.ExecutorResolver$9.execute(ExecutorResolver.java:119) 
at org.glassfish.grizzly.filterchain.DefaultFilterChain.executeFilter(DefaultFilterChain.java:283) 
at org.glassfish.grizzly.filterchain.DefaultFilterChain.executeChainPart(DefaultFilterChain.java:200) 
at org.glassfish.grizzly.filterchain.DefaultFilterChain.execute(DefaultFilterChain.java:132) 
at org.glassfish.grizzly.filterchain.DefaultFilterChain.process(DefaultFilterChain.java:111) 
at org.glassfish.grizzly.ProcessorExecutor.execute(ProcessorExecutor.java:77) 
at org.glassfish.grizzly.nio.transport.TCPNIOTransport.fireIOEvent(TCPNIOTransport.java:536) 
at org.glassfish.grizzly.strategies.AbstractIOStrategy.fireIOEvent(AbstractIOStrategy.java:112) 
at org.glassfish.grizzly.strategies.WorkerThreadIOStrategy.run0(WorkerThreadIOStrategy.java:117) 
at org.glassfish.grizzly.strategies.WorkerThreadIOStrategy.access$100(WorkerThreadIOStrategy.java:56) 
at org.glassfish.grizzly.strategies.WorkerThreadIOStrategy$WorkerThreadRunnable.run(WorkerThreadIOStrategy.java:137) 
at org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:591) 
at org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.run(AbstractThreadPool.java:571) 
at java.lang.Thread.run(Thread.java:745) 
Caused by: org.apache.catalina.LifecycleException: java.lang.ClassNotFoundException: com.pododdle.dao.CategoryListService 
at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:5740) 
at org.apache.catalina.core.StandardContext.start(StandardContext.java:5977) 
... 64 more 
Caused by: java.lang.ClassNotFoundException: com.pododdle.dao.CategoryListService 
at org.glassfish.web.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1783) 
at org.glassfish.web.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1633) 
at java.lang.Class.getDeclaredFields0(Native Method) 
at java.lang.Class.privateGetDeclaredFields(Class.java:2583) 
at java.lang.Class.getDeclaredFields(Class.java:1916) 
at org.glassfish.jersey.internal.util.ReflectionHelper$4.run(ReflectionHelper.java:311) 
at org.glassfish.jersey.internal.util.ReflectionHelper$4.run(ReflectionHelper.java:308) 
at java.security.AccessController.doPrivileged(Native Method) 
at org.glassfish.jersey.server.model.IntrospectionModeller.checkResourceClassFields(IntrospectionModeller.java:223) 
at org.glassfish.jersey.server.model.IntrospectionModeller.doCreateResourceBuilder(IntrospectionModeller.java:139) 
at org.glassfish.jersey.server.model.IntrospectionModeller.access$000(IntrospectionModeller.java:80) 
at org.glassfish.jersey.server.model.IntrospectionModeller$1.call(IntrospectionModeller.java:112) 
at org.glassfish.jersey.server.model.IntrospectionModeller$1.call(IntrospectionModeller.java:109) 
at org.glassfish.jersey.internal.Errors.process(Errors.java:315) 
at org.glassfish.jersey.internal.Errors.process(Errors.java:297) 
at org.glassfish.jersey.internal.Errors.processWithException(Errors.java:255) 
at org.glassfish.jersey.server.model.IntrospectionModeller.createResourceBuilder(IntrospectionModeller.java:109) 
at org.glassfish.jersey.server.model.Resource.from(Resource.java:792) 
at org.glassfish.jersey.server.ApplicationHandler.initialize(ApplicationHandler.java:463) 
at org.glassfish.jersey.server.ApplicationHandler.access$500(ApplicationHandler.java:182) 
at org.glassfish.jersey.server.ApplicationHandler$3.call(ApplicationHandler.java:348) 
at org.glassfish.jersey.server.ApplicationHandler$3.call(ApplicationHandler.java:345) 
at org.glassfish.jersey.internal.Errors.process(Errors.java:315) 
at org.glassfish.jersey.internal.Errors.process(Errors.java:297) 
at org.glassfish.jersey.internal.Errors.processWithException(Errors.java:255) 
at org.glassfish.jersey.server.ApplicationHandler.<init>(ApplicationHandler.java:345) 
at org.glassfish.jersey.servlet.WebComponent.<init>(WebComponent.java:390) 
at org.glassfish.jersey.servlet.ServletContainer.init(ServletContainer.java:170) 
at org.glassfish.jersey.servlet.ServletContainer.init(ServletContainer.java:362) 
at javax.servlet.GenericServlet.init(GenericServlet.java:244) 
at org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1583) 
at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1382) 
at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:5732) 
... 65 more 

: のserver.logは、このエラーを(それは各打ち上げ3/4回繰り返される)を示し、これは、EclipseとTomcatが異なるJREを使用している可能性があることを示しています。私はEclipseで動作する以下のJREを持っている:

jdk1.8.0_73 

質問は、Tomcatについてですので、私は私のGlassFishサーバー用ansev.batに次の行を追加して、私のGlassFishサーバー上でJAVA_HOMEを設定しようとしました:

set AS_JAVA=C:\Program Files\Java\jdk1.8.0_73 

これは、この答えによって提案されました:私はこれは私がこれをfを持っていない

を探しています何であるかどうかわからないのですがHow do I specify the jdk for a glassfish domain?

問題を修正しても、同じエラーが発生します。誰が何がうまくいかないかも知っていますか?なぜそれが突然動作を停止し、GLASSFISHのJREを正しく設定しましたか? GLASSFISHインストールで使用しているJREのバージョンを確認するにはどうすればよいですか?

すべてが感謝....

EDIT 1助け:コメント欄の起算でマイクを1として を私が間違ってツリーを吠えています - それがスローされているClassNotFoundExceptionがあるので、それが見えますそれは間違ってビルドしているようです。エラーの前にコンソールに表示されるサーバーの起動ログは次のとおりです。

2016-10-17T09:13:50.769+0100|Info: Running GlassFish Version: GlassFish Server Open Source Edition 4.1.1 (build 1) 
2016-10-17T09:13:50.770+0100|Info: Server log file is using Formatter class: com.sun.enterprise.server.logging.ODLLogFormatter 
2016-10-17T09:13:50.861+0100|Info: Realm [admin-realm] of classtype [com.sun.enterprise.security.auth.realm.file.FileRealm] successfully created. 
2016-10-17T09:13:50.863+0100|Info: Realm [file] of classtype [com.sun.enterprise.security.auth.realm.file.FileRealm] successfully created. 
2016-10-17T09:13:50.865+0100|Info: Realm [certificate] of classtype [com.sun.enterprise.security.auth.realm.certificate.CertificateRealm] successfully created. 
2016-10-17T09:13:50.964+0100|Info: Authorization Service has successfully initialized. 
2016-10-17T09:13:51.008+0100|Info: Registered org.glassfish.ha.store.adapter.cache.ShoalBackingStoreProxy for persistence-type = replicated in BackingStoreFactoryRegistry 
2016-10-17T09:13:51.155+0100|Warning: Instance could not be initialized. Class=interface org.glassfish.grizzly.http.server.AddOn, name=http-listener-1, realClassName=org.glassfish.grizzly.http2.Http2AddOn 
2016-10-17T09:13:51.230+0100|Info: Grizzly Framework 2.3.23 started in: 54ms - bound to [/0.0.0.0:8080] 
2016-10-17T09:13:51.242+0100|Warning: Instance could not be initialized. Class=interface org.glassfish.grizzly.http.server.AddOn, name=http-listener-2, realClassName=org.glassfish.grizzly.http2.Http2AddOn 
2016-10-17T09:13:51.245+0100|Info: Grizzly Framework 2.3.23 started in: 1ms - bound to [/0.0.0.0:8181] 
2016-10-17T09:13:51.247+0100|Warning: Instance could not be initialized. Class=interface org.glassfish.grizzly.http.server.AddOn, name=admin-listener, realClassName=org.glassfish.grizzly.http2.Http2AddOn 
2016-10-17T09:13:51.251+0100|Info: Grizzly Framework 2.3.23 started in: 1ms - bound to [/0.0.0.0:4848] 
2016-10-17T09:13:51.279+0100|Info: Grizzly Framework 2.3.23 started in: 1ms - bound to [/0.0.0.0:3700] 
2016-10-17T09:13:51.280+0100|Info: GlassFish Server Open Source Edition 4.1.1 (1) startup time : Felix (1,326ms), startup services(616ms), total(1,942ms) 
2016-10-17T09:13:51.343+0100|Info: JTS5014: Recoverable JTS instance, serverId = [100] 
2016-10-17T09:13:51.403+0100|Info: Grizzly Framework 2.3.23 started in: 2ms - bound to [/0.0.0.0:7676] 
2016-10-17T09:13:51.404+0100|Info: Registered com.su[email protected]27d57a2c as OSGi service registration: [email protected] 
2016-10-17T09:13:51.418+0100|Info: JMXStartupService has started JMXConnector on JMXService URL service:jmx:rmi://PododdlePC:8686/jndi/rmi://PododdlePC:8686/jmxrmi 
2016-10-17T09:13:53.709+0100|Info: HV000001: Hibernate Validator 5.1.2.Final 
2016-10-17T09:13:55.620+0100|Info: visiting unvisited references 
2016-10-17T09:13:57.095+0100|Info: Java security manager is disabled. 
2016-10-17T09:13:57.096+0100|Info: Entering Security Startup Service. 
2016-10-17T09:13:57.101+0100|Info: Loading policy provider com.sun.enterprise.security.provider.PolicyWrapper. 
2016-10-17T09:13:57.187+0100|Info: Security Service(s) started successfully. 
2016-10-17T09:13:57.632+0100|Info: Created HTTP listener http-listener-1 on host/port 0.0.0.0:8080 
2016-10-17T09:13:57.637+0100|Info: Created HTTP listener http-listener-2 on host/port 0.0.0.0:8181 
2016-10-17T09:13:57.638+0100|Info: Created HTTP listener admin-listener on host/port 0.0.0.0:4848 
2016-10-17T09:13:57.665+0100|Info: Created virtual server server 
2016-10-17T09:13:57.667+0100|Info: Created virtual server __asadmin 
2016-10-17T09:13:57.937+0100|Info: Setting JAAS app name glassfish-web 
2016-10-17T09:13:57.938+0100|Info: Virtual server server loaded default web module 
2016-10-17T09:13:59.082+0100|Info: visiting unvisited references 
2016-10-17T09:13:59.180+0100|Info: visiting unvisited references 
2016-10-17T09:13:59.181+0100|Info: visiting unvisited references 
2016-10-17T09:13:59.182+0100|Info: visiting unvisited references 
2016-10-17T09:13:59.182+0100|Info: visiting unvisited references 
2016-10-17T09:13:59.183+0100|Info: visiting unvisited references 
2016-10-17T09:13:59.184+0100|Info: visiting unvisited references 
2016-10-17T09:13:59.184+0100|Info: visiting unvisited references 
2016-10-17T09:13:59.185+0100|Info: visiting unvisited references 
2016-10-17T09:13:59.185+0100|Info: visiting unvisited references 
2016-10-17T09:13:59.186+0100|Info: visiting unvisited references 
2016-10-17T09:13:59.217+0100|Info: visiting unvisited references 
2016-10-17T09:13:59.218+0100|Info: visiting unvisited references 
2016-10-17T09:13:59.218+0100|Info: visiting unvisited references 
2016-10-17T09:13:59.219+0100|Info: visiting unvisited references 
2016-10-17T09:13:59.219+0100|Info: visiting unvisited references 
2016-10-17T09:13:59.220+0100|Info: visiting unvisited references 
2016-10-17T09:13:59.221+0100|Info: visiting unvisited references 
2016-10-17T09:13:59.221+0100|Info: visiting unvisited references 
2016-10-17T09:13:59.222+0100|Info: visiting unvisited references 
2016-10-17T09:13:59.584+0100|Info: WELD-000900: 2.2.13 (Final) 
2016-10-17T09:14:00.712+0100|WARN: WELD-001700: Interceptor annotation class javax.ejb.PostActivate not found, interception based on it is not enabled 
2016-10-17T09:14:00.712+0100|WARN: WELD-001700: Interceptor annotation class javax.ejb.PrePassivate not found, interception based on it is not enabled 
2016-10-17T09:14:00.986+0100|WARN: WELD-000411: Observer method [BackedAnnotatedMethod] org.glassfish.sse.impl.ServerSentEventCdiExtension.processAnnotatedType(@Observes ProcessAnnotatedType<Object>, BeanManager) receives events for all annotated types. Consider restricting events using @WithAnnotations or a generic type with bounds. 
2016-10-17T09:14:00.994+0100|WARN: WELD-000411: Observer method [BackedAnnotatedMethod] public org.glassfish.jms.injection.JMSCDIExtension.processAnnotatedType(@Observes ProcessAnnotatedType<Object>) receives events for all annotated types. Consider restricting events using @WithAnnotations or a generic type with bounds. 
2016-10-17T09:14:00.999+0100|WARN: WELD-000411: Observer method [BackedAnnotatedMethod] private org.glassfish.jersey.ext.cdi1x.internal.CdiComponentProvider.processAnnotatedType(@Observes ProcessAnnotatedType<Object>) receives events for all annotated types. Consider restricting events using @WithAnnotations or a generic type with bounds. 
2016-10-17T09:14:01.004+0100|WARN: WELD-000411: Observer method [BackedAnnotatedMethod] org.glassfish.sse.impl.ServerSentEventCdiExtension.processAnnotatedType(@Observes ProcessAnnotatedType<Object>, BeanManager) receives events for all annotated types. Consider restricting events using @WithAnnotations or a generic type with bounds. 
2016-10-17T09:14:01.007+0100|WARN: WELD-000411: Observer method [BackedAnnotatedMethod] public org.glassfish.jms.injection.JMSCDIExtension.processAnnotatedType(@Observes ProcessAnnotatedType<Object>) receives events for all annotated types. Consider restricting events using @WithAnnotations or a generic type with bounds. 
2016-10-17T09:14:01.008+0100|WARN: WELD-000411: Observer method [BackedAnnotatedMethod] private org.glassfish.jersey.ext.cdi1x.internal.CdiComponentProvider.processAnnotatedType(@Observes ProcessAnnotatedType<Object>) receives events for all annotated types. Consider restricting events using @WithAnnotations or a generic type with bounds. 
2016-10-17T09:14:01.009+0100|WARN: WELD-000411: Observer method [BackedAnnotatedMethod] public org.glassfish.jms.injection.JMSCDIExtension.processAnnotatedType(@Observes ProcessAnnotatedType<Object>) receives events for all annotated types. Consider restricting events using @WithAnnotations or a generic type with bounds. 
2016-10-17T09:14:01.011+0100|WARN: WELD-000411: Observer method [BackedAnnotatedMethod] org.glassfish.sse.impl.ServerSentEventCdiExtension.processAnnotatedType(@Observes ProcessAnnotatedType<Object>, BeanManager) receives events for all annotated types. Consider restricting events using @WithAnnotations or a generic type with bounds. 
2016-10-17T09:14:01.015+0100|WARN: WELD-000411: Observer method [BackedAnnotatedMethod] public org.glassfish.jms.injection.JMSCDIExtension.processAnnotatedType(@Observes ProcessAnnotatedType<Object>) receives events for all annotated types. Consider restricting events using @WithAnnotations or a generic type with bounds. 
2016-10-17T09:14:01.017+0100|WARN: WELD-000411: Observer method [BackedAnnotatedMethod] public org.glassfish.jms.injection.JMSCDIExtension.processAnnotatedType(@Observes ProcessAnnotatedType<Object>) receives events for all annotated types. Consider restricting events using @WithAnnotations or a generic type with bounds. 
2016-10-17T09:14:01.017+0100|WARN: WELD-000411: Observer method [BackedAnnotatedMethod] org.glassfish.sse.impl.ServerSentEventCdiExtension.processAnnotatedType(@Observes ProcessAnnotatedType<Object>, BeanManager) receives events for all annotated types. Consider restricting events using @WithAnnotations or a generic type with bounds. 
2016-10-17T09:14:01.044+0100|WARN: WELD-000411: Observer method [BackedAnnotatedMethod] private org.glassfish.jersey.ext.cdi1x.internal.CdiComponentProvider.processAnnotatedType(@Observes ProcessAnnotatedType<Object>) receives events for all annotated types. Consider restricting events using @WithAnnotations or a generic type with bounds. 
2016-10-17T09:14:01.044+0100|WARN: WELD-000411: Observer method [BackedAnnotatedMethod] public org.glassfish.jms.injection.JMSCDIExtension.processAnnotatedType(@Observes ProcessAnnotatedType<Object>) receives events for all annotated types. Consider restricting events using @WithAnnotations or a generic type with bounds. 
2016-10-17T09:14:01.046+0100|WARN: WELD-000411: Observer method [BackedAnnotatedMethod] org.glassfish.sse.impl.ServerSentEventCdiExtension.processAnnotatedType(@Observes ProcessAnnotatedType<Object>, BeanManager) receives events for all annotated types. Consider restricting events using @WithAnnotations or a generic type with bounds. 
2016-10-17T09:14:01.048+0100|WARN: WELD-000411: Observer method [BackedAnnotatedMethod] private org.glassfish.jersey.ext.cdi1x.internal.CdiComponentProvider.processAnnotatedType(@Observes ProcessAnnotatedType<Object>) receives events for all annotated types. Consider restricting events using @WithAnnotations or a generic type with bounds. 
2016-10-17T09:14:01.050+0100|WARN: WELD-000411: Observer method [BackedAnnotatedMethod] org.glassfish.sse.impl.ServerSentEventCdiExtension.processAnnotatedType(@Observes ProcessAnnotatedType<Object>, BeanManager) receives events for all annotated types. Consider restricting events using @WithAnnotations or a generic type with bounds. 
2016-10-17T09:14:01.052+0100|WARN: WELD-000411: Observer method [BackedAnnotatedMethod] public org.glassfish.jms.injection.JMSCDIExtension.processAnnotatedType(@Observes ProcessAnnotatedType<Object>) receives events for all annotated types. Consider restricting events using @WithAnnotations or a generic type with bounds. 
2016-10-17T09:14:01.054+0100|WARN: WELD-000411: Observer method [BackedAnnotatedMethod] private org.glassfish.jersey.ext.cdi1x.internal.CdiComponentProvider.processAnnotatedType(@Observes ProcessAnnotatedType<Object>) receives events for all annotated types. Consider restricting events using @WithAnnotations or a generic type with bounds. 
2016-10-17T09:14:01.054+0100|WARN: WELD-000411: Observer method [BackedAnnotatedMethod] org.glassfish.sse.impl.ServerSentEventCdiExtension.processAnnotatedType(@Observes ProcessAnnotatedType<Object>, BeanManager) receives events for all annotated types. Consider restricting events using @WithAnnotations or a generic type with bounds. 
2016-10-17T09:14:01.055+0100|WARN: WELD-000411: Observer method [BackedAnnotatedMethod] public org.glassfish.jms.injection.JMSCDIExtension.processAnnotatedType(@Observes ProcessAnnotatedType<Object>) receives events for all annotated types. Consider restricting events using @WithAnnotations or a generic type with bounds. 
2016-10-17T09:14:01.057+0100|WARN: WELD-000411: Observer method [BackedAnnotatedMethod] private org.glassfish.jersey.ext.cdi1x.internal.CdiComponentProvider.processAnnotatedType(@Observes ProcessAnnotatedType<Object>) receives events for all annotated types. Consider restricting events using @WithAnnotations or a generic type with bounds. 
2016-10-17T09:14:01.058+0100|WARN: WELD-000411: Observer method [BackedAnnotatedMethod] private org.glassfish.jersey.ext.cdi1x.internal.CdiComponentProvider.processAnnotatedType(@Observes ProcessAnnotatedType<Object>) receives events for all annotated types. Consider restricting events using @WithAnnotations or a generic type with bounds. 
2016-10-17T09:14:01.059+0100|WARN: WELD-000411: Observer method [BackedAnnotatedMethod] org.glassfish.sse.impl.ServerSentEventCdiExtension.processAnnotatedType(@Observes ProcessAnnotatedType<Object>, BeanManager) receives events for all annotated types. Consider restricting events using @WithAnnotations or a generic type with bounds. 
2016-10-17T09:14:01.060+0100|WARN: WELD-000411: Observer method [BackedAnnotatedMethod] private org.glassfish.jersey.ext.cdi1x.internal.CdiComponentProvider.processAnnotatedType(@Observes ProcessAnnotatedType<Object>) receives events for all annotated types. Consider restricting events using @WithAnnotations or a generic type with bounds. 
2016-10-17T09:14:03.606+0100|Severe: WebModule[/pododdle]StandardWrapper.Throwable 

このログポイントは何か明白ですか?コメント欄でマイクを1として

+0

あなたは間違った経路をここに下ります。情報の鍵となるのは次の行です: '原因:java.lang.ClassNotFoundException:com.pododdle.dao.CategoryListService'。それが正しく構築され、すべての依存関係を適切にパッケージ化していることを確認しましたか? – Mike

+0

こんにちはマイク、彼らが適切に読み込まれていることを確認する方法がわからない。何がお勧めですか?私は完全なサーバーの開始ログで質問を更新しました。 –

答えて

0

は、このによるプロジェクトが構築されていたかと間違って何かがあったが、そうだった、提案:

Caused by: java.lang.ClassNotFoundException: com.pododdle.dao.CategoryListService 

私はこれに見て、彼は正しかったです!私がビルドパスに持っていた2つのjarファイルは、不思議なことに欠けていました!彼らは次のとおりだった:

jersey-media-multipart-2.21.1.jar 
mimepull-1.9.3.jar 

私は、多分私は酔ってはならないのjarファイルは、GlassFishのサーバーの/ libディレクトリから削除されたか分からないウイスキーのボトル余分います。彼らが戻ってきたら、突然すべてが大変な仕事をしました。エラーでちょっと困惑しました - jarが利用できない場合、コンパイルエラーが発生すると思います。とにかく、別の迷惑なエラーのために失われた5日間。

0

dist(ビルドフォルダ)が空であることをプロジェクトのクリーニング後に確認してください。そうでない場合は、その内容を手動で削除します。また、ライブラリフォルダにすべてのプロジェクトレイヤーに必要なすべてのライブラリがあり、IDEのクラスパスが正しい方法で設定されていることを確認してください。重複したjarファイルについては、ライブラリフォルダも確認してください。手動でいくつか削除した場合は、サーバーを再起動して、クリーンアップしてプロジェクトを再構築してください。それはこのように働いた。

関連する問題