不好意思,问一下 finereport不部署web.xml都正常,单独部署cas项目也没问题,但是集成之后,我向webinfo的lib里添加了tools.jar、casclient.jar、cas-client-core-3.2.1.jar,web.xml使用的是帮助文档提供的,除了把两处susie改成了localhost,其他的没动,完全按照网页上走得,但是tomcat启动直接就报错了 09:44:43 localhost-startStop-1 INFO [standard] Module FineLoggerActivator starting... SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder". SLF4J: Defaulting to no-operation (NOP) logger implementation SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details. java.util.ServiceConfigurationError: com.sun.tools.attach.spi.AttachProvider: Provider sun.tools.attach.WindowsAttachProvider could not be instantiated 十月 30, 2019 9:44:57 上午 com.fr.third.org.hibernate.type.descriptor.java.JavaTypeDescriptorRegistry getDescriptor WARN: Could not find matching type descriptor for requested Java class [java.util.List]; using fallback 十月 30, 2019 9:44:57 上午 com.fr.third.org.hibernate.type.descriptor.java.JavaTypeDescriptorRegistry getDescriptor WARN: Could not find matching type descriptor for requested Java class [com.fr.swift.source.alloter.AllotRule]; using fallback 十月 30, 2019 9:45:08 上午 com.fr.third.org.hibernate.type.descriptor.java.JavaTypeDescriptorRegistry getDescriptor WARN: Could not find matching type descriptor for requested Java class [java.util.List]; using fallback 十月 30, 2019 9:45:08 上午 com.fr.third.org.hibernate.type.descriptor.java.JavaTypeDescriptorRegistry getDescriptor WARN: Could not find matching type descriptor for requested Java class [java.util.List]; using fallback 十月 30, 2019 9:45:08 上午 com.fr.third.org.hibernate.type.descriptor.java.JavaTypeDescriptorRegistry getDescriptor WARN: Could not find matching type descriptor for requested Java class [java.util.List]; using fallback 十月 30, 2019 9:45:08 上午 com.fr.third.org.hibernate.type.descriptor.java.JavaTypeDescriptorRegistry getDescriptor WARN: Could not find matching type descriptor for requested Java class [java.util.List]; using fallback 十月 30, 2019 9:45:08 上午 com.fr.third.org.hibernate.type.descriptor.java.JavaTypeDescriptorRegistry getDescriptor WARN: Could not find matching type descriptor for requested Java class [java.util.List]; using fallback 09:45:14 localhost-startStop-1 ERROR [standard] Lifecycle error.null java.lang.NullPointerException at com.fr.report.ReportActivator.initReportServlet(Unknown Source) at com.fr.report.ReportActivator.start(Unknown Source) at com.fr.module.engine.FineModule.executeStart(Unknown Source) at com.fr.stable.lifecycle.AbstractLifecycle.start(Unknown Source) at com.fr.module.engine.FineModule.start(Unknown Source) at com.fr.module.engine.FineModule.startChildren(Unknown Source) at com.fr.module.engine.FineModule.executeStart(Unknown Source) at com.fr.stable.lifecycle.AbstractLifecycle.start(Unknown Source) at com.fr.module.engine.FineModule.start(Unknown Source) at com.fr.module.engine.FineModule.startChildren(Unknown Source) at com.fr.module.engine.FineModule.executeStart(Unknown Source) at com.fr.stable.lifecycle.AbstractLifecycle.start(Unknown Source) at com.fr.module.engine.FineModule.start(Unknown Source) at com.fr.startup.FineWebApplicationStartup.executeStart(Unknown Source) at com.fr.stable.lifecycle.AbstractLifecycle.start(Unknown Source) at com.fr.startup.FineWebApplicationInitializer.onStartup(Unknown Source) at com.fr.third.springframework.web.SpringServletContainerInitializer.onStartup(SpringServletContainerInitializer.java:175) at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5156) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:725) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:701) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:717) at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1101) at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1786) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748) 30-Oct-2019 09:45:16.831 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory D:\soft\apache-tomcat-8.0.24\webapps\webroot has finished in 55,891 ms 30-Oct-2019 09:45:16.838 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-apr-8080"] 30-Oct-2019 09:45:16.846 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-8443"] 30-Oct-2019 09:45:16.849 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["ajp-apr-8009"] 30-Oct-2019 09:45:16.850 INFO [main] org.apache.catalina.startup.Catalina.start Server startup in 63604 ms 2019-10-30 09:46:19,554 INFO [org.jasig.cas.services.DefaultServicesManagerImpl] - 2019-10-30 09:46:19,556 INFO [org.jasig.cas.services.DefaultServicesManagerImpl] - 2019-10-30 09:47:23,898 INFO [org.jasig.cas.web.flow.InitialFlowSetupAction] - 2019-10-30 09:48:06,970 INFO [org.jasig.cas.authentication.AuthenticationManagerImpl] - 2019-10-30 09:48:06,971 INFO [org.jasig.cas.authentication.AuthenticationManagerImpl] - 2019-10-30 09:48:06,972 INFO [org.jasig.cas.authentication.AuthenticationManagerImpl] - 2019-10-30 09:48:06,977 INFO [com.github.inspektr.audit.support.Slf4jLoggingAuditTrailManager] -<Audit trail record BEGIN ==================================================== 此时访问 https://localhost:8443/cas/login 都是正常的 fr10的class文件是自带的 我对过代码 是完全一样的 然后cas的集成就一直没成功过 https://localhost:8443/webroot/decision/login 直接进入了登录页 没有cas的主页 这个咋搞啊 ? 原生的项目部署 我什么都没有添加呢 感觉 是不是 fr本身的问题啊 |