我导入带有birt的项目到eclipse,eclipse我已经安装了birt的集成插件,把原项目一个个文件复制到了新建的birt项目上,然后部署到本地tomacat服务器上,运行时出现如下信息:
11月 12, 2019 3:30:37 下午 org.apache.catalina.util.SessionIdGeneratorBase createSecureRandom
警告: Creation of SecureRandom instance for session ID generation using [SHA1PRNG] took [547] milliseconds.
11月 12, 2019 3:30:38 下午 org.apache.catalina.loader.WebappClassLoaderBase validateJarFile
信息: validateJarFile(D:\JAVAEE_Project1.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\Test6\WEB-INF\lib\servlet-api.jar) - jar not loaded. See Servlet Spec 3.0, section 10.7.2. Offending class: javax/servlet/Servlet.class
11月 12, 2019 3:30:57 下午 org.apache.catalina.startup.TldConfig tldScanWebXml
警告: Failed to process TLD with path [/WEB-INF/report-engine/tlds/birt.tld] and URI [/birt.tld]. The specified path does not exist.
11月 12, 2019 3:30:58 下午 org.apache.catalina.startup.TldConfig execute
信息: At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
11月 12, 2019 3:30:58 下午 org.apache.catalina.core.ApplicationContext log
信息: Set web app root system property: 'pgkj_ycbjb.root' = [D:\JAVAEE_Project1.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\Test6]
11月 12, 2019 3:30:58 下午 org.apache.catalina.core.ApplicationContext log
信息: Initializing Log4J from [classpath:log4j.properties]
log4j:WARN No appenders could be found for logger (org.springframework.web.context.ContextLoader).
log4j:WARN Please initialize the log4j system properly.
11月 12, 2019 3:30:58 下午 org.apache.catalina.core.ApplicationContext log
信息: Loading Spring root WebApplicationContext
最后这条语句“信息: Loading Spring root WebApplicationContext“一直停留,接着出现服务器超时(45秒),有兄弟遇见过吗。
appicationContext配置文件没有报红,web.xml中写了配置文件路径的。
自己解决了