在myeclipse运行代码的时候,tomcat的8080能打开,但一但运行servlet代码,不是404就是500
运行页面
报错内容
2022-12-11 21:25:12 org.apache.catalina.core.AprLifecycleListener init
信息: The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: D:\MyEclipse\Common\binary\com.sun.java.jdk.win32.x86_64_1.6.0.013\bin;D:\MyEclipse\Common\plugins\com.genuitec.eclipse.easie.tomcat.myeclipse_9.0.0.me201211011550\tomcat\bin
2022-12-11 21:25:12 org.apache.coyote.http11.Http11Protocol init
信息: Initializing Coyote HTTP/1.1 on http-8080
2022-12-11 21:25:12 org.apache.catalina.startup.Catalina load
信息: Initialization processed in 279 ms
2022-12-11 21:25:12 org.apache.catalina.core.StandardService start
信息: Starting service Catalina
2022-12-11 21:25:12 org.apache.catalina.core.StandardEngine start
信息: Starting Servlet Engine: Apache Tomcat/6.0.13
2022-12-11 21:25:12 org.apache.coyote.http11.Http11Protocol start
信息: Starting Coyote HTTP/1.1 on http-8080
2022-12-11 21:25:12 org.apache.jk.common.ChannelSocket init
信息: JK: ajp13 listening on /0.0.0.0:8009
2022-12-11 21:25:12 org.apache.jk.server.JkMain start
信息: Jk running ID=0 time=0/13 config=null
2022-12-11 21:25:12 org.apache.catalina.startup.Catalina start
信息: Server startup in 489 ms
2022-12-11 21:25:23 org.apache.catalina.core.ApplicationContext log
信息: Marking servlet JChart as unavailable
2022-12-11 21:25:23 org.apache.catalina.core.StandardWrapperValve invoke
严重: Allocate exception for servlet JChart
java.lang.ClassNotFoundException: org.jfree.chart.ChartTheme
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1358)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1204)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
at java.lang.Class.getDeclaredConstructors0(Native Method)
at java.lang.Class.privateGetDeclaredConstructors(Class.java:2389)
at java.lang.Class.getConstructor0(Class.java:2699)
at java.lang.Class.newInstance0(Class.java:326)
at java.lang.Class.newInstance(Class.java:308)
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1104)
at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:806)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:129)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:261)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:581)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
at java.lang.Thread.run(Thread.java:619)
我看网上有人说是路径或者wel.xml的问题,但我改来改去都出不来。
到底该怎么改才行?