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