异常、报错,刚进公司没人带,用Dorado7,已经快被折磨疯了,求大神看看

问题描述

异常、报错,刚进公司没人带,用Dorado7,已经快被折磨疯了,求大神看看

ERROR: com.bstek.dorado.web.servlet.SpringContextLoaderListener - java.lang.IllegalArgumentException: Package [dorado-core[7.3.0] not found, Which is depended by [dorado-jdbc].
java.lang.IllegalArgumentException: Package [dorado-core[7.3.0] not found, Which is depended by [dorado-jdbc].
at com.bstek.dorado.core.pkgs.PackageManager.calculateDepends(PackageManager.java:51)
at com.bstek.dorado.core.pkgs.PackageManager.doBuildPackageInfos(PackageManager.java:175)
at com.bstek.dorado.core.pkgs.PackageManager.buildPackageInfos(PackageManager.java:195)
at com.bstek.dorado.core.pkgs.PackageManager.getPackageInfoMap(PackageManager.java:217)
at com.bstek.dorado.web.servlet.DoradoLoader.preload(DoradoLoader.java:246)
at com.bstek.dorado.web.servlet.SpringContextLoaderListener.customizeContext(SpringContextLoaderListener.java:30)
at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:275)
at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:197)
at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:47)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4723)
at org.apache.catalina.core.StandardContext$1.call(StandardContext.java:5226)
at org.apache.catalina.core.StandardContext$1.call(StandardContext.java:5221)
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)
INFO : org.springframework.web.context.support.XmlWebApplicationContext - Refreshing Root WebApplicationContext: startup date [Sun May 15 16:27:36 CST 2016]; root of context hierarchy
五月 15, 2016 4:27:36 下午 org.apache.catalina.core.StandardContext listenerStart
严重: Exception sending context initialized event to listener instance of class com.bstek.dorado.web.servlet.SpringContextLoaderListener
org.springframework.beans.factory.BeanDefinitionStoreException: IOException parsing XML document from ServletContext resource [/WEB-INF/applicationContext.xml]; nested exception is java.io.FileNotFoundException: Could not open ServletContext resource [/WEB-INF/applicationContext.xml]
at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:341)
at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:302)
at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:143)
at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:178)
at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:149)
at org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:124)
at org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:93)
at org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:130)
at org.springframework.context.support.AbstractApplicationContext.obtainFreshBeanFactory(AbstractApplicationContext.java:467)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:397)
at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:276)
at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:197)
at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:47)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4723)
at org.apache.catalina.core.StandardContext$1.call(StandardContext.java:5226)
at org.apache.catalina.core.StandardContext$1.call(StandardContext.java:5221)
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)
Caused by: java.io.FileNotFoundException: Could not open ServletContext resource [/WEB-INF/applicationContext.xml]
at org.springframework.web.context.support.ServletContextResource.getInputStream(ServletContextResource.java:117)
at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:328)
... 19 more

INFO : org.springframework.beans.factory.xml.XmlBeanDefinitionReader - Loading XML bean definitions from ServletContext resource [/WEB-INF/applicationContext.xml]
ERROR: org.springframework.web.context.ContextLoader - Context initialization failed
org.springframework.beans.factory.BeanDefinitionStoreException: IOException parsing XML document from ServletContext resource [/WEB-INF/applicationContext.xml]; nested exception is java.io.FileNotFoundException: Could not open ServletContext resource [/WEB-INF/applicationContext.xml]
at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:341)
at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:302)
at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:143)
at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:178)
at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:149)
at org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:124)
at org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:93)
at org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:130)
at org.springframework.context.support.AbstractApplicationContext.obtainFreshBeanFactory(AbstractApplicationContext.java:467)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:397)
at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:276)
at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:197)
at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:47)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4723)
at org.apache.catalina.core.StandardContext$1.call(StandardContext.java:5226)
at org.apache.catalina.core.StandardContext$1.call(StandardContext.java:5221)
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)
Caused by: java.io.FileNotFoundException: Could not open ServletContext resource [/WEB-INF/applicationContext.xml]
at org.springframework.web.context.support.ServletContextResource.getInputStream(ServletContextResource.java:117)
at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:328)
... 19 more
五月 15, 2016 4:27:36 下午 org.apache.catalina.core.StandardContext startInternal
严重: Error listenerStart
五月 15, 2016 4:27:36 下午 org.apache.catalina.core.StandardContext startInternal
严重: Context [/mine] startup failed due to previous errors
五月 15, 2016 4:27:36 下午 org.apache.catalina.core.ApplicationContext log
信息: Closing Spring root WebApplicationContext
五月 15, 2016 4:27:36 下午 org.apache.catalina.loader.WebappClassLoader clearReferencesJdbc
严重: The web application [/mine] registered the JDBC driver [org.h2.Driver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered.
五月 15, 2016 4:27:36 下午 org.apache.coyote.AbstractProtocol start
信息: Starting ProtocolHandler ["http-bio-8080"]
五月 15, 2016 4:27:36 下午 org.apache.coyote.AbstractProtocol start
信息: Starting ProtocolHandler ["ajp-bio-8009"]
五月 15, 2016 4:27:36 下午 org.apache.catalina.startup.Catalina start
信息: Server startup in 2657 ms

解决方案

不少jar包,scan扫描不到,就报错,配置文件应该也没问题,因为是公司让自学,有示例,但是示例项目也报错,这证明不是代码有问题或者配置文件有问题,作为一个小白,我真的非常非常困惑,但是没人可问,求助各位前辈,谢谢!!!

时间: 2024-10-01 10:37:07

异常、报错,刚进公司没人带,用Dorado7,已经快被折磨疯了,求大神看看的相关文章

c语言-C++代码改成C语言代码,没学过C++好多看不懂啊(泪奔······)求大神指点,我用的VC6.0

问题描述 C++代码改成C语言代码,没学过C++好多看不懂啊(泪奔······)求大神指点,我用的VC6.0 代码如下, #include "winsock2.h" #include "Winsnmp.h" #include 这里是string以下都要用 < 和 > 括起来(不知为何不显示=,=) #include vector #include algorithm #include iostream #pragma comment(lib,"

我知道java注解,原理是反射,可是没看出来注解的便利,理解的不好,求大神点化???

问题描述 我知道java注解,原理是反射,可是没看出来注解的便利,理解的不好,求大神点化??? 我知道java注解,原理是反射,可是没看出来注解的便利,理解的不好,求大神点化??? 解决方案 注解的作用好像是把配置文件的内容移动到代码上面来.虽然配置文件是为了减少修改代码,把可能改变的都写在配置文件.但是很多情况是在配置文件配置了后就不会再改变的,这样不如放在代码上面,不用代码和配置文件来回切换. 还有就是只有注解时做不了东西的.是通过反射读取到注解的键值对,然后根据键值对来做相应的事情. 一个

进制转换-为什么我的程序运行不了。。。求大神帮忙

问题描述 为什么我的程序运行不了...求大神帮忙 package 跑; import java.awt.*;import java.awt.event.*; import javax.swing.*;import javax.swing.event.*; public class JinZhi extends JFrame implements ActionListener{ JLabel jl1jl2jl3jl4;JTextField jt1jt2jt3jt4;public JinZhi(){

求大神解答-刚进公司,一个问题看了好久请大神帮忙看看。。。。

问题描述 刚进公司,一个问题看了好久请大神帮忙看看.... The type javax.servlet.http.HttpServletResponse cannot be resolved. It is indirectly referenced from required .class files WebContext.java /cofcoWeb_subStation/src/net/xinshi/web line 1 Java Problem 解决方案 先查看 所有的jar 是否完整,

刚进公司干什么呢?

问题描述 今儿是进公司的第三天.这两天经理都在给我们培训讲软件工程.貌似回到了上课时代,今儿下午换个人给我们讲技术.很想知道,大家刚进去的时候都是个什么情况啊. 解决方案 解决方案二:企业文化.公司架构解决方案三:有人给你讲已经很不错了,我进公司的时候连个人讲都没有!呵呵解决方案四:尽快熟悉要做项目所要用的技术平台有利于以后开发解决方案五:看需求,写文档,跑流程,学业务.解决方案六:呵呵,很羡慕你们阿解决方案七:看你进的的什么公司了,我刚进来第二天就给点活干...解决方案八:哎!现在进公司有人给

Python基础中所出现的异常报错总结_python

今天我们来探索python中大部分的异常报错 首先异常是什么,异常白话解释就是不正常,程序里面一般是指程序员输入的格式不规范,或者需求的参数类型不对应,不全等等. 打个比方很多公司年终送苹果笔记本,你程序话思维以为是(MAC)电脑笔记本,结果给你个苹果+笔记本...首先类型不对,数量也不对. 先来看几个常见的报错如下: NameError 命名错误 原因是: name 'a' is not defined  命名a还未定义 简单来说就是程序不知道a带表谁 如果a=1 那程序就懂了 a代表1 所以

javaweb项目,tomcat启动异常报错,spring文件初始化问题,大神help

问题描述 javaweb项目,tomcat启动异常报错,spring文件初始化问题,大神help 本地启动没问题,把编译好的项目放到别的机器就不行,tomcat版本是一样的,都是8.0.12,jdk也是一样的,本地的系统是windows,另外一台是linux ERROR 2015-08-13 14:50:01,873 ContextLoader:initWebApplicationContext - Context initialization failed java.lang.NullPoin

ea-关于app异常报错哪位大神帮帮忙

问题描述 关于app异常报错哪位大神帮帮忙 04-14 11:38:55.357: E/ActivityThread(6617): Activity com.example.activity.MainActivity has leaked IntentReceiver com.android.internal.policy.impl.PhoneWindow$5@41ea3230 that was originally registered here. Are you missing a call

jstl-EL表达式出现异常报错

问题描述 EL表达式出现异常报错 错误信息:org.apache.jasper.JasperException: /search/app/searchtools/cognation_query.jsp(34,7) According to TLD or attribute directive in tag file, attribute list does not accept any expressions jstl用的是自定义标签,jsp版本1.2,web-app_2_4.xsd,找到一个解