myEclipse中tomcat运行报错

 时间:2024-11-05 22:52:17

刚装上tomcat都可以用,过了一晚上运行就报错了,重装myEclipse和tomca隋茚粟胫t也没用了,还是报相同的错误严重:Exceptio荏鱿胫协nstartingfilterStruts2Unabletoloadconfiguration.-[unknownlocation] atorg.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:501) atorg.apache.struts2.dispatcher.ng.InitOperations.initDispatcher(InitOperations.java:74) atorg.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter.init(StrutsPrepareAndExecuteFilter.java:57) atorg.apache.catalina.core.ApplicationFilterConfig.initFilter(ApplicationFilterConfig.java:279) atorg.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:260) atorg.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:105) atorg.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4830) atorg.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5510) atorg.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) atorg.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901) atorg.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877) atorg.apache.catalina.core.StandardHost.addChild(StandardHost.java:649) atorg.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1247) atorg.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1897) atjava.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) atjava.util.concurrent.FutureTask.run(FutureTask.java:266) atjava.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) atjava.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) atjava.lang.Thread.run(Thread.java:745)【Causedby】:Unabletoloadconfiguration.-[unknownlocation] atcom.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:70) atorg.apache.struts2.dispatcher.Dispatcher.init_PreloadConfiguration(Dispatcher.java:445) atorg.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:489) ...18more【Causedby】:Parentpackageisnotdefined:Struts-default-[unknownlocation] atcom.opensymphony.xwork2.config.providers.XmlConfigurationProvider.buildPackageContext(XmlConfigurationProvider.java:670) atcom.opensymphony.xwork2.config.providers.XmlConfigurationProvider.addPackage(XmlConfigurationProvider.java:519) atcom.opensymphony.xwork2.config.providers.XmlConfigurationProvider.loadPackages(XmlConfigurationProvider.java:292) atorg.apache.struts2.config.StrutsXmlConfigurationProvider.loadPackages(StrutsXmlConfigurationProvider.java:112) atcom.opensymphony.xwork2.config.impl.DefaultConfiguration.reloadContainer(DefaultConfiguration.java:258) atcom.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:67) ...20more

myEclipse中tomcat运行报错

工具/原料

MyEclipse

Tomcat7

MyEclipse新建Web项目 Eclipse如何使用Java Code Template js添加属性的方法 Navicat如何设置编辑器宽度 JavaScript如何获取和修改div中style中的值
热门搜索
心烦图片 雪之少女 藏红花图片 教师节手抄报大全图片 卡卡西图片