首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > JAVA > J2EE开发 >

一个初学者滴有关问题

2013-09-11 
一个菜鸟滴问题2012-10-17 16:42:54 org.apache.catalina.core.AprLifecycleListener init信息: The APR b

一个菜鸟滴问题
2012-10-17 16:42:54 org.apache.catalina.core.AprLifecycleListener init
信息: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: D:\myeclipse\bin;D:\tomcat 6.0\bin
2012-10-17 16:42:54 org.apache.coyote.http11.Http11Protocol init
信息: Initializing Coyote HTTP/1.1 on http-8080
2012-10-17 16:42:54 org.apache.catalina.startup.Catalina load
信息: Initialization processed in 1287 ms
2012-10-17 16:42:54 org.apache.catalina.core.StandardService start
信息: Starting service Catalina
2012-10-17 16:42:54 org.apache.catalina.core.StandardEngine start
信息: Starting Servlet Engine: Apache Tomcat/6.0.35
2012-10-17 16:42:54 org.apache.catalina.startup.HostConfig deployDescriptor
信息: Deploying configuration descriptor manager.xml
2012-10-17 16:42:55 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory docs
2012-10-17 16:42:55 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory JSPExample
2012-10-17 16:42:55 org.apache.catalina.loader.WebappClassLoader validateJarFile
信息: validateJarFile(D:\tomcat 6.0\webapps\JSPExample\WEB-INF\lib\servlet-api.jar) - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: javax/servlet/Servlet.class
2012-10-17 16:42:55 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory ROOT
2012-10-17 16:42:56 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory Struts 2.0
2012-10-17 16:42:57 com.opensymphony.xwork2.util.logging.commons.CommonsLogger info
信息: Parsing configuration file [struts-default.xml]
2012-10-17 16:42:57 org.apache.catalina.core.StandardContext filterStart
严重: Exception starting filter struts2
java.lang.NoClassDefFoundError: org/apache/commons/lang3/StringUtils
at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.register(XmlConfigurationProvider.java:209)
at org.apache.struts2.config.StrutsXmlConfigurationProvider.register(StrutsXmlConfigurationProvider.java:102)
at com.opensymphony.xwork2.config.impl.DefaultConfiguration.reloadContainer(DefaultConfiguration.java:210)
at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:66)
at org.apache.struts2.dispatcher.Dispatcher.init_PreloadConfiguration(Dispatcher.java:390)
at org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:437)
at org.apache.struts2.dispatcher.FilterDispatcher.init(FilterDispatcher.java:193)
at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:295)
at org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:422)
at org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:115)
at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4072)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4726)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:799)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:779)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:601)
at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1079)
at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:1002)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:506)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1317)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:324)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:142)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1065)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:840)


at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1057)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463)
at org.apache.catalina.core.StandardService.start(StandardService.java:525)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:754)
at org.apache.catalina.startup.Catalina.start(Catalina.java:595)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
2012-10-17 16:42:57 org.apache.catalina.core.StandardContext start
严重: Error filterStart
2012-10-17 16:42:57 org.apache.catalina.core.StandardContext start
严重: Context [/Struts 2.0] startup failed due to previous errors
2012-10-17 16:42:58 org.apache.coyote.http11.Http11Protocol start
信息: Starting Coyote HTTP/1.1 on http-8080
2012-10-17 16:42:58 org.apache.jk.common.ChannelSocket init
信息: JK: ajp13 listening on /0.0.0.0:8009
2012-10-17 16:42:58 org.apache.jk.server.JkMain start
信息: Jk running ID=0 time=0/48 config=null
2012-10-17 16:42:58 org.apache.catalina.startup.Catalina start
信息: Server startup in 3463 ms
2012-10-17 16:46:08 org.apache.catalina.startup.HostConfig checkResources
信息: Reloading context [/Struts 2.0]
2012-10-17 16:46:08 org.apache.catalina.core.StandardContext stop
信息: Container org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/Struts 2.0] has not been started
2012-10-17 16:46:10 com.opensymphony.xwork2.util.logging.commons.CommonsLogger info
信息: Parsing configuration file [struts-default.xml]
2012-10-17 16:46:10 org.apache.catalina.core.StandardContext filterStart
严重: Exception starting filter struts2
java.lang.NoClassDefFoundError: org/apache/commons/lang3/StringUtils
at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.register(XmlConfigurationProvider.java:209)
at org.apache.struts2.config.StrutsXmlConfigurationProvider.register(StrutsXmlConfigurationProvider.java:102)
at com.opensymphony.xwork2.config.impl.DefaultConfiguration.reloadContainer(DefaultConfiguration.java:210)
at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:66)
at org.apache.struts2.dispatcher.Dispatcher.init_PreloadConfiguration(Dispatcher.java:390)
at org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:437)
at org.apache.struts2.dispatcher.FilterDispatcher.init(FilterDispatcher.java:193)
at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:295)
at org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:422)
at org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:115)
at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4072)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4726)
at org.apache.catalina.startup.HostConfig.checkResources(HostConfig.java:1284)
at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1382)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:306)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:142)
at org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1389)
at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1653)
at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1662)
at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1642)


at java.lang.Thread.run(Unknown Source)
2012-10-17 16:46:10 org.apache.catalina.core.StandardContext start
严重: Error filterStart
2012-10-17 16:46:10 org.apache.catalina.core.StandardContext start
严重: Context [/Struts 2.0] startup failed due to previous errors

[解决办法]
找不到这个类 org/apache/commons/lang3/StringUtils


[解决办法]
没有可用分了,悲剧,在这里问个问题。我在数据库里存了很多文章和标题(在一个数据表里,标题与文章是对应的),我现在要把文章和标题读到前台去,要这种效果:在一个网页里全是标题,我点击标题后出来另一个网页,网页里是对应标题的文章,怎么实现啊。(我现在能实现的是标题全部出来了,点击任何一个标题时,网页中出现数据库中所有的文章内容,我要网页中出现对应标题的内容,怎么搞)
[解决办法]
缺少包,找不到类定义
[解决办法]

探讨

没有可用分了,悲剧,在这里问个问题。我在数据库里存了很多文章和标题(在一个数据表里,标题与文章是对应的),我现在要把文章和标题读到前台去,要这种效果:在一个网页里全是标题,我点击标题后出来另一个网页,网页里是对应标题的文章,怎么实现啊。(我现在能实现的是标题全部出来了,点击任何一个标题时,网页中出现数据库中所有的文章内容,我要网页中出现对应标题的内容,怎么搞)

[解决办法]
lz 你的是包配置 问题 仔细看看少那个了吧!
[解决办法]
探讨

没有可用分了,悲剧,在这里问个问题。我在数据库里存了很多文章和标题(在一个数据表里,标题与文章是对应的),我现在要把文章和标题读到前台去,要这种效果:在一个网页里全是标题,我点击标题后出来另一个网页,网页里是对应标题的文章,怎么实现啊。(我现在能实现的是标题全部出来了,点击任何一个标题时,网页中出现数据库中所有的文章内容,我要网页中出现对应标题的内容,怎么搞)

[解决办法]
建议你换一个struts的包,可能这个包有点问题。
[解决办法]
探讨
引用:

没有可用分了,悲剧,在这里问个问题。我在数据库里存了很多文章和标题(在一个数据表里,标题与文章是对应的),我现在要把文章和标题读到前台去,要这种效果:在一个网页里全是标题,我点击标题后出来另一个网页,网页里是对应标题的文章,怎么实现啊。(我现在能实现的是标题全部出来了,点击任何一个标题时,网页中出现数据库中所有的文章内容,我要网页中出现对应标题的内容,怎么搞)

……

热点排行