关于EOVA项目搭建问题
蜡笔小新新 发布于60月前 1答/2525阅

我想实现的功能:项目在eclipse+JDK1.7+Tomcat7+Oracle10g运行


过程中遇到的问题:首先项目搭建之后,dev下面的jdbc.config文件打不开。


项目启动的时候还报错:



七月 24, 2017 5:24:42 下午 org.apache.catalina.core.AprLifecycleListener init INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: D:\MyTools\Java\jre7\bin;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;D:\oracle10g\app\oracle\product\10.2.0\server\bin;C:\Program Files (x86)\Intel\iCLS Client\;C:\Program Files\Intel\iCLS Client\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files (x86)\ATI Technologies\ATI.ACE\Core-Static;C:\Program Files (x86)\Common Files\lenovo\easyplussdk\bin;C:\Program Files\Intel\WiFi\bin\;C:\Program Files\Common Files\Intel\WirelessCommon\;D:\MyTools\TortoiseSVN\bin;D:\MyTools\Java\jdk1.7.0_17\bin;D:\MyTools\apache-maven-3.2.5\bin;D:\MyTools\UltraEdit\;%USERPROFILE%\AppData\Local\Microsoft\WindowsApps;;D:\MyTools\SSH;. 七月 24, 2017 5:24:43 下午 org.apache.coyote.AbstractProtocol init INFO: Initializing ProtocolHandler ["http-bio-8888"] 七月 24, 2017 5:24:43 下午 org.apache.coyote.AbstractProtocol init INFO: Initializing ProtocolHandler ["ajp-bio-8001"] 七月 24, 2017 5:24:43 下午 org.apache.catalina.startup.Catalina load INFO: Initialization processed in 649 ms 七月 24, 2017 5:24:43 下午 org.apache.catalina.core.StandardService startInternal INFO: Starting service Catalina 七月 24, 2017 5:24:43 下午 org.apache.catalina.core.StandardEngine startInternal INFO: Starting Servlet Engine: Apache Tomcat/7.0.37 七月 24, 2017 5:24:43 下午 org.apache.catalina.loader.WebappClassLoader validateJarFile INFO: validateJarFile(E:\Project\eova\webapp\WEB-INF\lib\jetty-server-8.1.8.jar) - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: javax/servlet/Servlet.class 七月 24, 2017 5:24:43 下午 org.apache.catalina.startup.ContextConfig getServletContainerInitializer SEVERE: The ServletContentInitializer [org.apache.jasper.runtime.TldScanner] could not be created java.lang.ClassNotFoundException: org.apache.jasper.runtime.TldScanner at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1713) at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1558) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Unknown Source) at org.apache.catalina.startup.ContextConfig.getServletContainerInitializer(ContextConfig.java:1659) at org.apache.catalina.startup.ContextConfig.processServletContainerInitializers(ContextConfig.java:1569) at org.apache.catalina.startup.ContextConfig.webConfig(ContextConfig.java:1277) at org.apache.catalina.startup.ContextConfig.configureStart(ContextConfig.java:878) at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:369) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119) at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90) at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5179) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559) at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549) at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) 七月 24, 2017 5:24:43 下午 org.apache.catalina.startup.ContextConfig processServletContainerInitializers SEVERE: Failed to process JAR found at URL [jar:file:/E:/Project/eova/webapp/WEB-INF/lib/jetty-server-8.1.8.jar!/] for ServletContainerInitializers for context with name [/eova] 七月 24, 2017 5:24:43 下午 org.apache.catalina.startup.ContextConfig configureStart SEVERE: Marking this application unavailable due to previous error(s) 七月 24, 2017 5:24:43 下午 org.apache.catalina.core.StandardContext startInternal SEVERE: Error getConfigured 七月 24, 2017 5:24:43 下午 org.apache.catalina.core.StandardContext startInternal SEVERE: Context [/eova] startup failed due to previous errors 七月 24, 2017 5:24:43 下午 org.apache.coyote.AbstractProtocol start INFO: Starting ProtocolHandler ["http-bio-8888"] 七月 24, 2017 5:24:43 下午 org.apache.coyote.AbstractProtocol start INFO: Starting ProtocolHandler ["ajp-bio-8001"] 七月 24, 2017 5:24:43 下午 org.apache.catalina.startup.Catalina start INFO: Server startup in 550 ms

我的分析过程如下:暂时不清楚是什么原因,查了下资料,说是删除

jetty-server-8.1.8.jar,但是我试了,不加载这个jar包也是报错。求助


[沙发] Jieven
文件打不开,请在Eclipse中添加*.config 文件打开方式,具体操作请百度.
不建议新手使用Oracle,建议先使用Mysql上手.
提交评论
嘿,我来帮你!