我有一个基于JHipster的应用程序,我正试图部署在GlassFish(战争)上,但我总是得到错误:
部署期间出错:部署应用程序[LyncisVisualizadorChip]时发生异常:Sun.Reflect.Annotation.TypeNotPresentExceptionProxy。有关详细信息,请参阅server.log。
我研究了很多,发现了类似的问题:
将JHipster应用程序部署到Glassfish 4.1时出现异常
Glassfish上的Spring靴
Spring Boot应用程序不部署在Glassfish 4.1上
> [2017-08-16T13:06:11.623-0300] [glassfish 4.1] [WARNING] []
> [javax.enterprise.system.tools.deployment.dol] [tid: _ThreadID=46
> _ThreadName=admin-listener(3)] [timeMillis: 1502899571623] [levelValue: 900] [[ AS-DEPLOYMENT-00011
> java.lang.NoClassDefFoundError: org/crsh/plugin/PluginLifeCycle at
> java.lang.ClassLoader.defineClass1(Native Method) at
> java.lang.ClassLoader.defineClass(ClassLoader.java:763) at
> java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
> at
> org.glassfish.web.loader.WebappClassLoader.findClass(WebappClassLoader.java:1220)
> at
> org.glassfish.web.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1750)
> at
> org.glassfish.web.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1633)
> at
> com.sun.enterprise.deployment.annotation.impl.ModuleScanner.getElements(ModuleScanner.java:297)
> at
> com.sun.enterprise.deployment.archivist.Archivist.processAnnotations(Archivist.java:585)
> at
> com.sun.enterprise.deployment.archivist.Archivist.readAnnotations(Archivist.java:462)
> at
> com.sun.enterprise.deployment.archivist.Archivist.readAnnotations(Archivist.java:446)
> at
> org.glassfish.web.deployment.archivist.WebArchivist.postAnnotationProcess(WebArchivist.java:338)
> at
> org.glassfish.web.deployment.archivist.WebArchivist.postAnnotationProcess(WebArchivist.java:91)
> at
> com.sun.enterprise.deployment.archivist.Archivist.readRestDeploymentDescriptors(Archivist.java:420)
> at
> com.sun.enterprise.deployment.archivist.Archivist.readDeploymentDescriptors(Archivist.java:396)
> at
> com.sun.enterprise.deployment.archivist.Archivist.open(Archivist.java:271)
> at
> com.sun.enterprise.deployment.archivist.Archivist.open(Archivist.java:280)
> at
> com.sun.enterprise.deployment.archivist.Archivist.open(Archivist.java:241)
> at
> com.sun.enterprise.deployment.archivist.ApplicationFactory.openArchive(ApplicationFactory.java:161)
> at
> org.glassfish.javaee.core.deployment.DolProvider.processDOL(DolProvider.java:203)
> at
> org.glassfish.javaee.core.deployment.DolProvider.load(DolProvider.java:227)
> at
> org.glassfish.javaee.core.deployment.DolProvider.load(DolProvider.java:96)
> at
> com.sun.enterprise.v3.server.ApplicationLifecycle.loadDeployer(ApplicationLifecycle.java:881)
> at
> com.sun.enterprise.v3.server.ApplicationLifecycle.setupContainerInfos(ApplicationLifecycle.java:821)
> at
> com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:377)
> 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.admin.rest.utils.ResourceUtil.runCommand(ResourceUtil.java:253)
> at
> org.glassfish.admin.rest.utils.ResourceUtil.runCommand(ResourceUtil.java:231)
> at
> org.glassfish.admin.rest.utils.ResourceUtil.runCommand(ResourceUtil.java:275)
> at
> org.glassfish.admin.rest.resources.TemplateListOfResource.createResource(TemplateListOfResource.java:133)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:498) at
> org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)
> at
> org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:151)
> at
> org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:171)
> at
> org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:152)
> at
> org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:104)
> at
> org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:387)
> at
> org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:331)
> at
> org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:103)
> at
> org.glassfish.jersey.server.ServerRuntime$1.run(ServerRuntime.java:271)
> at org.glassfish.jersey.internal.Errors$1.call(Errors.java:271) at
> org.glassfish.jersey.internal.Errors$1.call(Errors.java:267) 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.process(Errors.java:267) at
> org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:297)
> at
> org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:254)
> at
> org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1028)
> at
> org.glassfish.jersey.grizzly2.httpserver.GrizzlyHttpContainer.service(GrizzlyHttpContainer.java:365)
> at
> org.glassfish.admin.rest.adapter.RestAdapter$2.service(RestAdapter.java:316)
> at
> org.glassfish.admin.rest.adapter.RestAdapter.service(RestAdapter.java:179)
> 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:201)
> at
> org.glassfish.grizzly.http.server.HttpHandler.doHandle(HttpHandler.java:175)
> 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:284)
> at
> org.glassfish.grizzly.filterchain.DefaultFilterChain.executeChainPart(DefaultFilterChain.java:201)
> at
> org.glassfish.grizzly.filterchain.DefaultFilterChain.execute(DefaultFilterChain.java:133)
> at
> org.glassfish.grizzly.filterchain.DefaultFilterChain.process(DefaultFilterChain.java:112)
> at
> org.glassfish.grizzly.ProcessorExecutor.execute(ProcessorExecutor.java:77)
> at
> org.glassfish.grizzly.portunif.PUFilter.handleRead(PUFilter.java:231)
> at
> org.glassfish.grizzly.filterchain.ExecutorResolver$9.execute(ExecutorResolver.java:119)
> at
> org.glassfish.grizzly.filterchain.DefaultFilterChain.executeFilter(DefaultFilterChain.java:284)
> at
> org.glassfish.grizzly.filterchain.DefaultFilterChain.executeChainPart(DefaultFilterChain.java:201)
> at
> org.glassfish.grizzly.filterchain.DefaultFilterChain.execute(DefaultFilterChain.java:133)
> at
> org.glassfish.grizzly.filterchain.DefaultFilterChain.process(DefaultFilterChain.java:112)
> at
> org.glassfish.grizzly.ProcessorExecutor.execute(ProcessorExecutor.java:77)
> at
> org.glassfish.grizzly.portunif.PUFilter.handleRead(PUFilter.java:231)
> at
> org.glassfish.grizzly.filterchain.ExecutorResolver$9.execute(ExecutorResolver.java:119)
> at
> org.glassfish.grizzly.filterchain.DefaultFilterChain.executeFilter(DefaultFilterChain.java:284)
> at
> org.glassfish.grizzly.filterchain.DefaultFilterChain.executeChainPart(DefaultFilterChain.java:201)
> at
> org.glassfish.grizzly.filterchain.DefaultFilterChain.execute(DefaultFilterChain.java:133)
> at
> org.glassfish.grizzly.filterchain.DefaultFilterChain.process(DefaultFilterChain.java:112)
> at
> org.glassfish.grizzly.ProcessorExecutor.execute(ProcessorExecutor.java:77)
> at
> org.glassfish.grizzly.nio.transport.TCPNIOTransport.fireIOEvent(TCPNIOTransport.java:561)
> 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:565)
> at
> org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.run(AbstractThreadPool.java:545)
> at java.lang.Thread.run(Thread.java:748) Caused by:
> java.lang.ClassNotFoundException: org.crsh.plugin.PluginLifeCycle at
> org.glassfish.web.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1783)
> at
> org.glassfish.web.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1633)
> ... 101 more ]]
>
> [2017-08-16T13:06:12.107-0300] [glassfish 4.1] [WARNING] []
> [javax.enterprise.system.tools.deployment.dol] [tid: _ThreadID=46
> _ThreadName=admin-listener(3)] [timeMillis: 1502899572107] [levelValue: 900] [[ AS-DEPLOYMENT-00011
> java.lang.NoClassDefFoundError: org/crsh/plugin/PluginLifeCycle at
> java.lang.ClassLoader.defineClass1(Native Method) at
> java.lang.ClassLoader.defineClass(ClassLoader.java:763) at
> java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
> at
> org.glassfish.web.loader.WebappClassLoader.findClass(WebappClassLoader.java:1220)
> at
> org.glassfish.web.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1750)
> at
> org.glassfish.web.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1633)
> at
> com.sun.enterprise.deployment.annotation.impl.ModuleScanner.getElements(ModuleScanner.java:297)
> at
> org.glassfish.apf.impl.AnnotationProcessorImpl.process(AnnotationProcessorImpl.java:132)
> at
> com.sun.enterprise.deployment.archivist.Archivist.processAnnotations(Archivist.java:626)
> at
> com.sun.enterprise.deployment.archivist.Archivist.readAnnotations(Archivist.java:462)
> at
> com.sun.enterprise.deployment.archivist.Archivist.readAnnotations(Archivist.java:446)
> at
> org.glassfish.web.deployment.archivist.WebArchivist.postAnnotationProcess(WebArchivist.java:338)
> at
> org.glassfish.web.deployment.archivist.WebArchivist.postAnnotationProcess(WebArchivist.java:91)
> at
> com.sun.enterprise.deployment.archivist.Archivist.readRestDeploymentDescriptors(Archivist.java:420)
> at
> com.sun.enterprise.deployment.archivist.Archivist.readDeploymentDescriptors(Archivist.java:396)
> at
> com.sun.enterprise.deployment.archivist.Archivist.open(Archivist.java:271)
> at
> com.sun.enterprise.deployment.archivist.Archivist.open(Archivist.java:280)
> at
> com.sun.enterprise.deployment.archivist.Archivist.open(Archivist.java:241)
> at
> com.sun.enterprise.deployment.archivist.ApplicationFactory.openArchive(ApplicationFactory.java:161)
> at
> org.glassfish.javaee.core.deployment.DolProvider.processDOL(DolProvider.java:203)
> at
> org.glassfish.javaee.core.deployment.DolProvider.load(DolProvider.java:227)
> at
> org.glassfish.javaee.core.deployment.DolProvider.load(DolProvider.java:96)
> at
> com.sun.enterprise.v3.server.ApplicationLifecycle.loadDeployer(ApplicationLifecycle.java:881)
> at
> com.sun.enterprise.v3.server.ApplicationLifecycle.setupContainerInfos(ApplicationLifecycle.java:821)
> at
> com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:377)
> 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.admin.rest.utils.ResourceUtil.runCommand(ResourceUtil.java:253)
> at
> org.glassfish.admin.rest.utils.ResourceUtil.runCommand(ResourceUtil.java:231)
> at
> org.glassfish.admin.rest.utils.ResourceUtil.runCommand(ResourceUtil.java:275)
> at
> org.glassfish.admin.rest.resources.TemplateListOfResource.createResource(TemplateListOfResource.java:133)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:498) at
> org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)
> at
> org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:151)
> at
> org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:171)
> at
> org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:152)
> at
> org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:104)
> at
> org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:387)
> at
> org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:331)
> at
> org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:103)
> at
> org.glassfish.jersey.server.ServerRuntime$1.run(ServerRuntime.java:271)
> at org.glassfish.jersey.internal.Errors$1.call(Errors.java:271) at
> org.glassfish.jersey.internal.Errors$1.call(Errors.java:267) 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.process(Errors.java:267) at
> org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:297)
> at
> org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:254)
> at
> org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1028)
> at
> org.glassfish.jersey.grizzly2.httpserver.GrizzlyHttpContainer.service(GrizzlyHttpContainer.java:365)
> at
> org.glassfish.admin.rest.adapter.RestAdapter$2.service(RestAdapter.java:316)
> at
> org.glassfish.admin.rest.adapter.RestAdapter.service(RestAdapter.java:179)
> 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:201)
> at
> org.glassfish.grizzly.http.server.HttpHandler.doHandle(HttpHandler.java:175)
> 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:284)
> at
> org.glassfish.grizzly.filterchain.DefaultFilterChain.executeChainPart(DefaultFilterChain.java:201)
> at
> org.glassfish.grizzly.filterchain.DefaultFilterChain.execute(DefaultFilterChain.java:133)
> at
> org.glassfish.grizzly.filterchain.DefaultFilterChain.process(DefaultFilterChain.java:112)
> at
> org.glassfish.grizzly.ProcessorExecutor.execute(ProcessorExecutor.java:77)
> at
> org.glassfish.grizzly.portunif.PUFilter.handleRead(PUFilter.java:231)
> at
> org.glassfish.grizzly.filterchain.ExecutorResolver$9.execute(ExecutorResolver.java:119)
> at
> org.glassfish.grizzly.filterchain.DefaultFilterChain.executeFilter(DefaultFilterChain.java:284)
> at
> org.glassfish.grizzly.filterchain.DefaultFilterChain.executeChainPart(DefaultFilterChain.java:201)
> at
> org.glassfish.grizzly.filterchain.DefaultFilterChain.execute(DefaultFilterChain.java:133)
> at
> org.glassfish.grizzly.filterchain.DefaultFilterChain.process(DefaultFilterChain.java:112)
> at
> org.glassfish.grizzly.ProcessorExecutor.execute(ProcessorExecutor.java:77)
> at
> org.glassfish.grizzly.portunif.PUFilter.handleRead(PUFilter.java:231)
> at
> org.glassfish.grizzly.filterchain.ExecutorResolver$9.execute(ExecutorResolver.java:119)
> at
> org.glassfish.grizzly.filterchain.DefaultFilterChain.executeFilter(DefaultFilterChain.java:284)
> at
> org.glassfish.grizzly.filterchain.DefaultFilterChain.executeChainPart(DefaultFilterChain.java:201)
> at
> org.glassfish.grizzly.filterchain.DefaultFilterChain.execute(DefaultFilterChain.java:133)
> at
> org.glassfish.grizzly.filterchain.DefaultFilterChain.process(DefaultFilterChain.java:112)
> at
> org.glassfish.grizzly.ProcessorExecutor.execute(ProcessorExecutor.java:77)
> at
> org.glassfish.grizzly.nio.transport.TCPNIOTransport.fireIOEvent(TCPNIOTransport.java:561)
> 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:565)
> at
> org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.run(AbstractThreadPool.java:545)
> at java.lang.Thread.run(Thread.java:748) Caused by:
> java.lang.ClassNotFoundException: org.crsh.plugin.PluginLifeCycle at
> org.glassfish.web.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1783)
> at
> org.glassfish.web.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1633)
> ... 102 more ]]
>
> [2017-08-16T13:06:12.304-0300] [glassfish 4.1] [SEVERE] [] [global]
> [tid: _ThreadID=46 _ThreadName=admin-listener(3)] [timeMillis:
> 1502899572304] [levelValue: 1000] [[ Class [
> org/springframework/hateoas/ResourceSupport ] not found. Error while
> loading [ class
> org.springframework.boot.actuate.autoconfigure.EndpointWebMvcHypermediaManagementContextConfiguration$ActuatorEndpointLinksAdvice
> ]]]
>
> [2017-08-16T13:06:12.397-0300] [glassfish 4.1] [INFO] []
> [javax.enterprise.system.tools.deployment.common] [tid: _ThreadID=46
> _ThreadName=admin-listener(3)] [timeMillis: 1502899572397] [levelValue: 800] [[ visiting unvisited references]]
>
> [2017-08-16T13:06:12.513-0300] [glassfish 4.1] [SEVERE] []
> [javax.enterprise.system.core] [tid: _ThreadID=46
> _ThreadName=admin-listener(3)] [timeMillis: 1502899572513] [levelValue: 1000] [[ Exception while deploying the app
> [LyncisVisualizadorChip]]]
>
> [2017-08-16T13:06:12.514-0300] [glassfish 4.1] [SEVERE]
> [NCLS-CORE-00026] [javax.enterprise.system.core] [tid: _ThreadID=46
> _ThreadName=admin-listener(3)] [timeMillis: 1502899572514] [levelValue: 1000] [[ Exception during lifecycle processing
> java.lang.ArrayStoreException:
> sun.reflect.annotation.TypeNotPresentExceptionProxy at
> sun.reflect.annotation.AnnotationParser.parseClassArray(AnnotationParser.java:724)
> at
> sun.reflect.annotation.AnnotationParser.parseArray(AnnotationParser.java:531)
> at
> sun.reflect.annotation.AnnotationParser.parseMemberValue(AnnotationParser.java:355)
> at
> sun.reflect.annotation.AnnotationParser.parseAnnotation2(AnnotationParser.java:286)
> at
> sun.reflect.annotation.AnnotationParser.parseAnnotations2(AnnotationParser.java:120)
> at
> sun.reflect.annotation.AnnotationParser.parseAnnotations(AnnotationParser.java:72)
> at java.lang.Class.createAnnotationData(Class.java:3521) at
> java.lang.Class.annotationData(Class.java:3510) at
> java.lang.Class.getAnnotations(Class.java:3446) at
> org.glassfish.apf.impl.AnnotationProcessorImpl.processAnnotations(AnnotationProcessorImpl.java:285)
> at
> org.glassfish.apf.impl.AnnotationProcessorImpl.process(AnnotationProcessorImpl.java:195)
查看具有类似堆栈跟踪的https://github.com/spring-projects/spring-boot/issues/1355,似乎存在一个相关的阻塞问题,该问题已经在Spring Boot 2.0中得到了修复,请参阅https://github.com/spring-projects/spring-boot/issues/8669,但JHipster将等待最终发布后再升级。因此,要么你自己尝试升级应用程序中的spring boot,要么你忘记GlassFish。
从我开始尝试在OpenShift上部署一个香草jhipster应用程序到现在已经有一个多星期了。我试过Openshift和我们的Openshift私人公司实例,但没有成功。 我尝试了几种方法来做,使用生成器yo jhipster:openshift或手动使用特定的hook。使用生成器,我做了: .........从这里到那里都有很多例外.........
我正在关注阿伦·古普塔的JavaEE7动手实验室。https://github.com/javaee-samples/javaee7-hol 我已经在JBoss Dev Studio wildfly 8服务器Windows7中部署了该应用程序。很好用。 但当我在Windows8 Eclipse Glassfish4服务器上部署相同的组件时,它引发了以下异常。有人能告诉我Windows 8的设置有什
我尝试用java做一个rest web服务,并使用OpenShift服务测试服务器。 在OpenShift中,我选择Tomcat 7(JBoss EWS 2.0)作为web服务器。 当我试图将我的文件推入服务器时,在maven构建时,它会给我这些错误: 似乎错误是关于我的tools.java文件。 所以这是我的工具.java文件的代码: 我想知道,因为当我在我的PC中使用命令时,没有错误并且项目完
我正在使用Eclipse使用JHipster 1.4.0做一个应用程序。 在开发配置文件中,没问题,但是当我切换到prod配置文件时,构建中存在错误: 描述:生命周期配置未涵盖的插件执行:com.github.trecloux:yeoman-maven-plugin:0.2:build(执行:run-grunt,阶段:Generate-Resources) 资源:pom.xml 路径:/myapp
在使用Netbeans 8.2使用Glassfish 4.1部署web应用程序时,我遇到以下错误 启动GlassFish Server 4.1.1 GlassFish Server 4.1.1启动失败 请检查服务器管理员用户名和密码属性。 还请检查服务器日志文件以查找其他可能的原因。/users/suraaz/testapp/nbproject/build-impl.xml:1046:部署错误:G
我部署我laravel 5.4项目在共享主机上使用子域我安装了作曲家,改变了路径的index.php,供应商路径,DB主机,用户名等。 我得到以下错误 致命错误:未捕获意外值异常:在"/存储/日志"中没有现有目录,并且无法构建:在 /vendor/monolog/monolog/src/Monolog/Handler/StreamH中拒绝权限andler.php:171 我尝试了以下命令:php