解决:IDEA导⼊Spring项
⽬,l.sax.SAXParseExcepti。。。
具体怎么导⼊看这个⼤佬的⽂章:
这⾥只记录⼀点⼩⼩的问题
报错信息:
at s.internal.util.ErrorHandlerWrapper.warning(ErrorHandlerWrapper.java:99) ~[na:1.8.0_171]
at s.internal.portError(XMLErrorReporter.java:392) [na:1.8.0_171]
at s.internal.portError(XMLErrorReporter.java:306) [na:1.8.0_171]
at s.internal.portSchemaErr(XSDHandler.java:4158) [na:1.8.0_171]
at s.internal.portSchemaWarning(XSDHandler.java:4149) [na:1.8.0_171]
at s.internal.SchemaDocument1(XSDHandler.java:2491) [na:1.8.0_171]
at s.internal.SchemaDocument(XSDHandler.java:2193) [na:1.8.0_171]
at s.internal.aversers.XSDHandler.parseSchema(XSDHandler.java:578) [na:1.8.0_171]
at s.internal.impl.xs.XMLSchemaLoader.loadSchema(XMLSchemaLoader.java:610) [na:1.8.0_171]
at s.internal.impl.xs.XMLSchemaValidator.findSchemaGrammar(XMLSchemaValidator.java:2447) [na:1.8.0_171]
at s.internal.impl.xs.XMLSchemaValidator.handleStartElement(XMLSchemaValidator.java:1768) [na:1.8.0_171]
at s.internal.impl.xs.XMLSchemaValidator.startElement(XMLSchemaValidator.java:741) [na:1.8.0_171]
at s.internal.impl.XMLNSDocumentScannerImpl.scanStartElement(XMLNSDocumentScannerImpl.java:374) [na:1.8.0_171]
at s.internal.impl.XMLNSDocumentScannerImpl$NSContentDriver.scanRootElementHook(XMLNSDocumentScannerImpl.java:613) [na at s.internal.impl.(XMLDocumentFragmentScannerImpl.java:3132) at s.internal.impl.(XMLDocumentScannerImpl.java:852) [na:1.8.0_171]
at s.internal.(XMLDocumentScannerImpl.java:602) [na:1.8.0_171]
at s.internal.(XMLNSDocumentScannerImpl.java:112) [na:1.8.0_171]
at s.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:505) [na:1.8.0_171] at s.internal.parsers.XML11Configuration.parse(XML11Configuration.java:842) [na:1.8.0_171]
parse error怎么解决at s.internal.parsers.XML11Configuration.parse(XML11Configuration.java:771) [na:1.8.0_171]
at s.internal.parsers.XMLParser.parse(XMLParser.java:141) [na:1.8.0_171]
at s.internal.parsers.DOMParser.parse(DOMParser.java:243) [na:1.8.0_171]
at s.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:339) [na:1.8.0_171]
at org.springframework.l.DefaultDocumentLoader.loadDocument(DefaultDocumentLoader.java:76) [spring-beans-4.3.5.RELEASE.jar:4.3.5.REL at org.springframework.l.XmlBeanDefinitionReader.doLoadDocument(XmlBeanDefinitionReader.java:429) [spring-beans-4.3.5.RELEASE.jar:4.3 at org.springframework.l.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:391) [spring-beans-4.3.5.RELEASE.j at org.springframework.l.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:336) [spring-beans-4.3.5.RELEASE.jar:4 at org.springframework.l.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:304) [spring-beans-4.3.5.RELEASE.jar:4 at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:181) [spring-beans-4.3.5.R at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:217) [spring-beans-4.3.5.R at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:188) [spring-beans-4.3.5.R at org.t.support.XmlWebApplicationContext.load
BeanDefinitions(XmlWebApplicationContext.java:125) [spring-web-4.3.5.RELEASE.ja at org.t.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:94) [spring-web-4.3.5.RELEASE.jar at t.freshBeanFactory(AbstractRefreshableApplicationContext.java:129) [spring-con at t.support.AbstractApplicationContext.obtainFreshBeanFactory(AbstractApplicationContext.java:613) [spring-context-4.3.5.RELEAS at t.fresh(AbstractApplicationContext.java:514) [spring-context-4.3.5.RELEASE.jar:4.3.5.RELEA at org.springframework.web.figureAndRefreshWebApplicationContext(FrameworkServlet.java:668) [spring-webmvc-4.3.5.RELEASE at org.springframework.web.ateWebApplicationContext(FrameworkServlet.java:634) [spring-webmvc-4.3.5.RELEASE.jar:4.3.5.REL at org.springframework.web.ateWebApplicationContext(FrameworkServlet.java:682) [spring-webmvc-4.3.5.RELEASE.jar:4.3.5.REL at org.springframework.web.servlet.FrameworkServlet.initWebApplicationContext(FrameworkServlet.java:553) [spring-webmvc-4.3.5.RELEASE.jar:4.3.5.RELEAS at org.springframework.web.servlet.FrameworkS
ervlet.initServletBean(FrameworkServlet.java:494) [spring-webmvc-4.3.5.RELEASE.jar:4.3.5.RELEASE]
at org.springframework.web.servlet.HttpServletBean.init(HttpServletBean.java:136) [spring-webmvc-4.3.5.RELEASE.jar:4.3.5.RELEASE]
at javax.servlet.GenericServlet.init(GenericServlet.java:158) [servlet-api.jar:3.1.FR]
at org.StandardWrapper.initServlet(StandardWrapper.java:1144) [catalina.jar:8.5.32]
at org.StandardWrapper.loadServlet(StandardWrapper.java:1091) [catalina.jar:8.5.32]
at org.StandardWrapper.load(StandardWrapper.java:983) [catalina.jar:8.5.32]
at org.StandardContext.loadOnStartup(StandardContext.java:4978) [catalina.jar:8.5.32]
at org.StandardContext.startInternal(StandardContext.java:5290) [catalina.jar:8.5.32]
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) [catalina.jar:8.5.32]
at org.ContainerBase.addChildInternal(ContainerBase.java:754) [catalina.jar:8.5.32]
at org.ContainerBase.addChild(ContainerBase.java:730) [catalina.jar:8.5.32]
at org.ContainerBase.addChild(ContainerBase.java:730) [catalina.jar:8.5.32]
at org.StandardHost.addChild(StandardHost.java:734) [catalina.jar:8.5.32]
at org.apache.catalina.startup.HostConfig.manageApp(HostConfig.java:1736) [catalina.jar:8.5.32]
flect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_171]
flect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_171]
flect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_171]
at flect.Method.invoke(Method.java:498) ~[na:1.8.0_171]
at deler.BaseModelMBean.invoke(BaseModelMBean.java:300) [tomcat-coyote.jar:8.5.32]
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:819) [na:1.8.0_171]
at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:801) [na:1.8.0_171]
at org.apache.catalina.ateStandardContext(MBeanFactory.java:483) [catalina.jar:8.5.32]
at org.apache.catalina.ateStandardContext(MBeanFactory.java:432) [catalina.jar:8.5.32]
flect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_171]
flect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_171]
flect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_171]
at flect.Method.invoke(Method.java:498) ~[na:1.8.0_171]
at deler.BaseModelMBean.invoke(BaseModelMBean.java:300) [tomcat-coyote.jar:8.5.32]
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:819) [na:1.8.0_171]
at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:801) [na:1.8.0_171]
at i.RMIConnectionImpl.doOperation(RMIConnectionImpl.java:1468) [na:1.8.0_171]
at i.RMIConnectionImpl.access$300(RMIConnectionImpl.java:76) [na:1.8.0_171]
at i.RMIConnectionImpl$PrivilegedOperation.run(RMIConnectionImpl.java:1309) [na:1.8.0_171]
at i.RMIConnectionImpl.doPrivilegedOperation(RMIConnectionImpl.java:1401) [na:1.8.0_171]
at i.RMIConnectionImpl.invoke(RMIConnectionImpl.java:829) [na:1.8.0_171]
flect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_171]
flect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_171]
flect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_171]
at flect.Method.invoke(Method.java:498) ~[na:1.8.0_171]
i.server.UnicastServerRef.dispatch(UnicastServerRef.java:357) [na:1.8.0_171]
i.transport.Transport$1.run(Transport.java:200) [na:1.8.0_171]
i.transport.Transport$1.run(Transport.java:197) [na:1.8.0_171]
at java.security.AccessController.doPrivileged(Native Method) [na:1.8.0_171]
i.transport.Transport.serviceCall(Transport.java:196) [na:1.8.0_171]
p.TCPTransport.handleMessages(TCPTransport.java:573) [na:1.8.0_171]
p.TCPTransport$ConnectionHandler.run0(TCPTransport.java:835) [na:1.8.0_171]
p.TCPTransport$ConnectionHandler.lambda$run$0(TCPTransport.java:688) [na:1.8.0_171]
at java.security.AccessController.doPrivileged(Native Method) [na:1.8.0_171]
p.TCPTransport$ConnectionHandler.run(TCPTransport.java:687) [na:1.8.0_17
1]
at urrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) ~[na:1.8.0_171]
at urrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) ~[na:1.8.0_171]
at java.lang.Thread.run(Thread.java:748) ~[na:1.8.0_171]
Caused by: java.io.FileNotFoundException: Unable to load the resource [classpath:spring-beans-2.5.xsd] using the thread context class loader or the current clas at org.apache.catalina.webresources.ClasspathURLStreamHandler.openConnection(ClasspathURLStreamHandler.java:45) ~[catalina.jar:8.5.32]
at java.URL.openConnection(URL.java:979) ~[na:1.8.0_171]
at s.internal.impl.XMLEntityManager.setupCurrentEntity(XMLEntityManager.java:621) ~[na:1.8.0_171]
at s.internal.impl.XMLVersionDetector.determineDocVersion(XMLVersionDetector.java:148) ~[na:1.8.0_171]
at s.internal.impl.xs.opti.SchemaParsingConfig.parse(SchemaParsingConfig.java:583) ~[na:1.8.0_171]
at s.internal.impl.xs.opti.SchemaParsingConfig.parse(SchemaParsingConfig.java:686) ~[na:1.8.0_171]
at s.internal.impl.xs.opti.SchemaDOMParser.parse(SchemaDOMParser.java:530) ~[na:1.8.0_171]
at s.internal.SchemaDocument(XSDHandler.java:2181) [na:1.8.0_171]
... 85 common frames omitted
11:08:21.463 [RMI TCP Connection(3)-127.0.0.1] ERROR o.s.web.servlet.DispatcherServlet - Context initialization failed
org.springframework.l.XmlBeanDefinitionStoreException: Line 10 in XML document from ServletContext resource [/l] at org.springframework.l.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:399) ~[spring-beans-4.3.5.RELEASE at org.springframework.l.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:336) ~[spring-beans-4.3.5.RELEASE.jar at org.springframework.l.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:304) ~[spring-beans-4.3.5.RELEASE.jar at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:181) ~[spring-beans-4.3.5. at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:217) ~[spring-beans-4.3.5. at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:188) ~
[spring-beans-4.3.5. at org.t.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:125) ~[spring-web-4.3.5.RELEASE at org.t.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:94) ~[spring-web-4.3.5.RELEASE.ja at t.freshBeanFactory(AbstractRefreshableApplicationContext.java:129) ~[spring-co at t.support.AbstractApplicationContext.obtainFreshBeanFactory(AbstractApplicationContext.java:613) ~[spring-context-4.3.5.RELEA at t.fresh(AbstractApplicationContext.java:514) ~[spring-context-4.3.5.RELEASE.jar:4.3.5.RELE at org.springframework.web.figureAndRefreshWebApplicationContext(FrameworkServlet.java:668) ~[spring-webmvc-4.3.5.RELEAS at org.springframework.web.ateWebApplicationContext(FrameworkServlet.java:634) ~[spring-webmvc-4.3.5.RELEASE.jar:4.3.5.RE
at org.springframework.web.ateWebApplicationContext(FrameworkSer
vlet.java:634) ~[spring-webmvc-4.3.5.RELEASE.jar:4.
at org.springframework.web.ateWebApplicationContext(FrameworkServlet.java:682) ~[spring-webmvc-4.3.5.RELEASE.jar:4.3.5.RE at org.springframework.web.servlet.FrameworkServlet.initWebApplicationContext(FrameworkServlet.java:553) ~[spring-webmvc-4.3.5.RELEASE.jar:4.3.5.RELEA at org.springframework.web.servlet.FrameworkServlet.initServletBean(FrameworkServlet.java:494) ~[spring-webmvc-4.3.5.RELEASE.jar:4.3.5.RELEASE]
at org.springframework.web.servlet.HttpServletBean.init(HttpServletBean.java:136) [spring-webmvc-4.3.5.RELEASE.jar:4.3.5.RELEASE]
at javax.servlet.GenericServlet.init(GenericServlet.java:158) [servlet-api.jar:3.1.FR]
at org.StandardWrapper.initServlet(StandardWrapper.java:1144) [catalina.jar:8.5.32]
at org.StandardWrapper.loadServlet(StandardWrapper.java:1091) [catalina.jar:8.5.32]
at org.StandardWrapper.load(StandardWrapper.java:983) [catalina.jar:8.5.32]
at org.StandardContext.loadOnStartup(StandardContext.java:4978) [catalina.jar:8.5.32]
at org.StandardContext.startInternal(StandardContext.java:5290) [catalina.jar:8.5.32]
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) [catalina.jar:8.5.32]
at org.ContainerBase.addChildInternal(ContainerBase.java:754) [catalina.jar:8.5.32]
at org.ContainerBase.addChild(ContainerBase.java:730) [catalina.jar:8.5.32]
at org.StandardHost.addChild(StandardHost.java:734) [catalina.jar:8.5.32]
at org.apache.catalina.startup.HostConfig.manageApp(HostConfig.java:1736) [catalina.jar:8.5.32]
flect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_171]
flect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_171]
flect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_171]
at flect.Method.invoke(Method.java:498) ~[na:1.8.0_171]
at deler.BaseModelMBean.invoke(BaseModelMBean.java:300) [tomcat-coyote.jar:8.5.32]
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:819) [na:1.8.0_171]
at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:801) [na:1.8.0_171]
at org.apache.catalina.ateStandardContext(MBeanFactory.java:483) [catalina.jar:8.5.32]
at org.apache.catalina.ateStandardContext(MBeanFactory.java:432) [catalina.jar:8.5.32]
flect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_171]
flect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_171]
flect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_171]
at flect.Method.invoke(Method.java:498) ~[na:1.8.0_171]
at deler.BaseModelMBean.invoke(BaseModelMBean.java:300) [tomcat-coyote.jar:8.5.32]
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:819) [na:1.8.0_171]
at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:801) [na:1.8.0_171]
at i.RMIConnectionImpl.doOperation(RMIConnectionImpl.java:1468) [na:1.8.0_171]
at i.RMIConnectionImpl.access$300(RMIConnectionImpl.java:76) [na:1.8.0_171]
at i.RMIConnectionImpl$PrivilegedOperation.run(RMIConnectionImpl.java:1309) [na:1.8.0_171]
at i.RMIConnectionImpl.doPrivilegedOperation(RMIConnectionImpl.java:1401) [na:1.8.0_171]
at i.RMIConnectionImpl.invoke(RMIConnectionImpl.java:829) [na:1.8.0_171]
flect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_171]
flect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_171]
flect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_171]
at flect.Method.invoke(Method.java:498) ~[na:1.8.0_171]
i.server.UnicastServerRef.dispatch(UnicastServerRef.java:357) [na:1.8.0_171]
i.transport.Transport$1.run(Transport.java:200) [na:1.8.0_171]
i.transport.Transport$1.run(Transport.java:197) [na:1.8.0_171]
at java.security.AccessController.doPrivileged(Native Method) [na:1.8.0_171]
i.transport.Transport.serviceCall(Transport.java:196) [na:1.8.0_171]
p.TCPTransport.handleMessages(TCPTransport.java:573) [na:1.8.0_171]
p.TCPTransport$ConnectionHandler.run0(TCPTransport.java:835) [na:1.8.0_171]
p.TCPTransport$ConnectionHandler.lambda$run$0(TCPTransport.java:688) [na:1.8.0_171]
at java.security.AccessController.doPrivileged(Native Method) [na:1.8.0_171]
p.TCPTransport$ConnectionHandler.run(TCPTransport.java:687) [na:1.8.0_171]
at urrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) ~[na:1.8.0_171]
at urrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) ~[na:1.8.0_171]
at java.lang.Thread.run(Thread.java:748) ~[na:1.8.0_171]
Caused by: l.sax.SAXParseException: cvc-elt.1: 不到元素 'beans' 的声明。
at s.internal.ateSAXParseException(ErrorHandlerWrapper.java:203) ~[na:1.8.0_171]
at s.internal.(ErrorHandlerWrapper.java:134) ~[na:1.8.0_171]
at s.internal.portError(XMLErrorReporter.java:396) ~[na:1.8.0_171]
at s.internal.portError(XMLErrorReporter.java:327) ~[na:1.8.0_171]
at s.internal.portError(XMLErrorReporter.java:284) ~[na:1.8.0_171]
at s.internal.impl.xs.XMLSchemaValidator.handleStartElement(XMLSchemaValidator.java:1901) ~[na:1.8.0_171]
at s.internal.impl.xs.XMLSchemaValidator.startElement(XMLSchemaValidator.java:741) ~[na:1.8.0_171]
at s.internal.impl.XMLNSDocumentScannerImpl.scanStartElement(XMLNSDocumentScannerImpl.java:374) ~[na:1.8.0_171]
at s.internal.impl.XMLNSDocumentScannerImpl$NSContentDriver.scanRootElementHook(XMLNSDocumentScannerImpl.java:613) ~[n at s.internal.impl.(XMLDocumentFragmentScannerImpl.java:3132) at s.internal.impl.(XMLDocumentScannerImpl.java:852) ~[na:1.8.0_171]
at s.internal.impl.(XMLDocumentScannerImpl.java:852) ~[na:1.8.0_171]
at s.internal.(XMLDocumentScannerImpl.java:602) ~[na:1.8.0_171]
at s.internal.(XMLNSDocumentScannerImpl.java:112) ~[na:1.8.0_171]
at s.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:505) ~[na:1.8.0_171 at s.internal.parsers.XML11Configuration.parse(XML11Configuration.java:842) ~[na:1.8.0_171]
at s.internal.parsers.XML11Configuration.parse(XML11Configuration.java:771) ~[na:1.8.0_171]
at s.internal.parsers.XMLParser.parse(XMLParser.java:141) ~[na:1.8.0_17
1]
at s.internal.parsers.DOMParser.parse(DOMParser.java:243) ~[na:1.8.0_171]
at s.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:339) ~[na:1.8.0_171]
at org.springframework.l.DefaultDocumentLoader.loadDocument(DefaultDocumentLoader.java:76) ~[spring-beans-4.3.5.RELEASE.jar:4.3.5.RE at org.springframework.l.XmlBeanDefinitionReader.doLoadDocument(XmlBeanDefinitionReader.java:429) ~[spring-beans-4.3.5.RELEASE.jar:4 at org.springframework.l.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:391) ~[spring-beans-4.3.5.RELEASE ... 65 common frames omitted
[2018-12-10 11:08:21,514] Artifact group-center-dd:war exploded: Artifact is deployed successfully
[2018-12-10 11:08:21,515] Artifact group-center-dd:war exploded: Deploy took 7,334 milliseconds
11:08:22.969 [http-nio-8080-exec-1] DEBUG o.JdbcTemplate - Executing SQL query [select csdm,csz from t_sys_para where yxbz=1]
11:08:22.978 [http-nio-8080-exec-1] DEBUG o.JdbcTemplate - Executing SQL query [select csdm,csz from t_sys_para where yxbz=1]
11:08:22.985 [http-nio-8080-exec-1] DEBUG o.JdbcTemplate - Executing SQL query [select csdm,csz from t_sys_para where yxbz=1]
11:08:22.997 [http-nio-8080-exec-3] DEBUG o.JdbcTemplate - Executing SQL query [select csdm,csz from t_sys_para where yxbz=1]
11:08:22.997 [http-nio-8080-exec-3] DEBUG o.JdbcTemplate - Executing SQL query [select csdm,csz from t_sys_para where yxbz=1]
11:08:22.999 [http-nio-8080-exec-3] DEBUG o.JdbcTemplate - Executing SQL query [select csdm,csz from t_sys_para where yxbz=1]
11:08:23.147 [http-nio-8080-exec-2] DEBUG o.JdbcTemplate - Executing SQL query [select csdm,csz from t_sys_para where yxbz=1]
11:08:23.148 [http-nio-8080-exec-2] DEBUG o.JdbcTemplate - Executing SQL query [select csdm,csz from t_sys_para where yxbz=1]
11:08:23.149 [http-nio-8080-exec-2] DEBUG o.JdbcTemplate - Executing SQL query [select csdm,csz from t_sys_para where yxbz=1]
报这个错的原因很多,
可能是因为Spring 的 jar包与配置版本不匹配,⽐如:
<?xml version="1.0" encoding="UTF-8" ?>
<beans xmlns="/schema/beans" xmlns:xsi="/2001/XMLSchema-instance"
xmlns:p="/schema/p" xmlns:context="/schema/context"
xmlns:tx="/schema/tx"
xsi:schemaLocation="/schema/beans
classpath:spring-beans-2.5.xsd
/schema/tx
classpath:spring-tx-2.5.xsd
/schema/context
classpath:spring-context-2.5.xsd">
看到有⼈也遇到这个错,直接粘过来了:
改⼀下就⾏了,很easy;
但是也有可能是因为下⾯这个问题,不到jar包但是
问题2:jar包⽆法查看:
正常操作应该是这样的:
但是我这显⽰的是:
⽆法读取jar包;
原因:引⽤外部jar包未编译;
解决:
打开设置页⾯,点那个绿⾊的加号,
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系QQ:729038198,我们将在24小时内删除。
发表评论