You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 19, 2022. It is now read-only.
The STS IDE shows an error in the applicationContext.xml in the below snippet. The error states a duplicate definition of id="dataSource" in the second "beans" element definition at line:
Here's the specific error:
Attribute : id
The unique identifier for a bean. A bean id may not be used more than once within the same element.
Data Type : string
It appears to be related to the definition in the first "beans" element. Removing the line from the first beans definition causes the error to go away. Since the definitions are in different "beans" elements, why is this error being reported?
false
org.hibernate.dialect.DerbyDialect
validate
/util:properties
true
org.hibernate.dialect.PostgreSQLDialect
validate
/util:properties
Why does STS show this as an error?
Environment : STS 3.2.0.RELEASE, Windows
Thanks!
Steve
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hello,
I posted this on stackoverflow as well. If you answer it there, I'll be sure to give you the points.
http://stackoverflow.com/questions/17048564/spring-trader-applicationcontext-xml-sts-validation-error
The STS IDE shows an error in the applicationContext.xml in the below snippet. The error states a duplicate definition of id="dataSource" in the second "beans" element definition at line:
<jee:jndi-lookup id="dataSource" jndi-name="jdbc/nanodb" />
Here's the specific error:
Attribute : id
The unique identifier for a bean. A bean id may not be used more than once within the same element.
Data Type : string
It appears to be related to the definition in the first "beans" element. Removing the line from the first beans definition causes the error to go away. Since the definitions are in different "beans" elements, why is this error being reported?
false org.hibernate.dialect.DerbyDialect validate /util:properties true org.hibernate.dialect.PostgreSQLDialect validate /util:properties Why does STS show this as an error?Environment : STS 3.2.0.RELEASE, Windows
Thanks!
Steve
The text was updated successfully, but these errors were encountered: