Note that there are some explanatory texts on larger screens.

plurals
  1. POCannot find the declaration of element 'beans' error occur when run jar
    primarykey
    data
    text
    <p>I am developing swing project with Spring 3.0 and I am using eclipse IDE , the project is work find in IDE but when I produce jar file run it. An Error occur <strong>org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException: Line 13 in XML document from class path resource [spring-beans.xml] is invalid; nested exception is org.xml.sax.SAXParseException; lineNumber: 13; columnNumber: 84; cvc-elt.1: Cannot find the declaration of element 'beans'.</strong></p> <p>Here is my spring config file</p> <pre><code> &lt;?xml version="1.0" encoding="UTF-8"?&gt; &lt;beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:context="http://www.springframework.org/schema/context" xmlns:tx="http://www.springframework.org/schema/tx" xmlns:p="http://www.springframework.org/schema/p" xsi:schemaLocation=" http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.0.xsd http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-3.0.xsd http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-3.0.xsd"&gt; &lt;context:annotation-config/&gt; &lt;context:component-scan base-package="com.plyd.java"/&gt; &lt;/beans&gt; </code></pre> <p>I am googling that error and test the solution in my project but not ok. The code work find in IDE.But when I produce runnable jar and run this give me error. Please give me some advise Thank.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload