Christian Dupuis
SpringSource, a division of VMware
Lead, SpringSource Tools Team
http://www.springsource.com
http://twitter.com/cdupuis
You are right -- I've created a test project w/out any Spring JARs, just a Java Project with Spring Project Nature and one configured Spring config file and there's no LinkageError and the completion works for all beans (including XSD-style bean definitions).
Of course, a Spring project w/out the Spring library (and its deps) seems not very practical... LOL
Edit: Ooops... the LinkageError is not gone! After playing with the config file, several editings and savings it re-appearedBut the navigation/completion still works (it didn't in my other projects w/ the same error).
Sebastian
Last edited by sbeigel; Jan 30th, 2007 at 06:51 AM.
I finally got time to play around with this version. I have 2 strange things I noticed.
First we have several unnamed beans (some BeansPostProcessorm, some application listeners). In the old version this wasn't a problem in the new version I get an error message 'Overrides another bean in config set', because we have multiple unnamed beans.
Secondly we have a lot of warnings regarding 'Class dependency is missing' while all the jars (even referenced ones like jms.jar) are on our/my classpath. Is this an error or just an undocumented feature.
If they are errors I'll create some issues in your issue system.
Marten Deinum
Java Consultant / Pragmatist / Open Source Enthousiast / Author
Pro Spring MVC: With Web Flow
Conspect
Have you read the reference guide.
Use the [ code ] tags, young padawan
Can you create a ticket for that at http://springide.org/project/newticket.First we have several unnamed beans (some BeansPostProcessorm, some application listeners). In the old version this wasn't a problem in the new version I get an error message 'Overrides another bean in config set', because we have multiple unnamed beans.
The AOP parsing gives that error if it can't load a class and all its dependencies from the project's classpath. There was a problem in M2 with linked projects and getting the classpath of linked projects. This has been fixed. Can you retry with the latest nigthly build?Secondly we have a lot of warnings regarding 'Class dependency is missing' while all the jars (even referenced ones like jms.jar) are on our/my classpath.
Thanks for your help
Christian
Christian Dupuis
SpringSource, a division of VMware
Lead, SpringSource Tools Team
http://www.springsource.com
http://twitter.com/cdupuis
Can you create a ticket for that at http://springide.org/project/newticket.We don't use linked project, however we use some User Libraries which contain a lot of jars. Will try the nightly build when I have the time.The AOP parsing gives that error if it can't load a class and all its dependencies from the project's classpath. There was a problem in M2 with linked projects and getting the classpath of linked projects. This has been fixed. Can you retry with the latest nigthly build?
Marten Deinum
Java Consultant / Pragmatist / Open Source Enthousiast / Author
Pro Spring MVC: With Web Flow
Conspect
Have you read the reference guide.
Use the [ code ] tags, young padawan
User libraries should work as well. Let me know if it works for you.We don't use linked project, however we use some User Libraries which contain a lot of jars. Will try the nightly build when I have the time.
Christian
Christian Dupuis
SpringSource, a division of VMware
Lead, SpringSource Tools Team
http://www.springsource.com
http://twitter.com/cdupuis
I just did an update to the most recent nighlty build. The issue with the anonymous beans is resolved. However the issue with the Class dependency is still there.
Marten Deinum
Java Consultant / Pragmatist / Open Source Enthousiast / Author
Pro Spring MVC: With Web Flow
Conspect
Have you read the reference guide.
Use the [ code ] tags, young padawan
That is good to hear.I just did an update to the most recent nightly build. The issue with the anonymous beans is resolved.
Ok. we need to do more investigation here. Can you send - or attach to a ticket - your eclpise .classpath file and the part of the applicationContext.xml that is causing the problem. Furthermore it would be good to know what class Spring IDE is missing.However the issue with the Class dependency is still there.
Thanks for your help.
Christian
Christian Dupuis
SpringSource, a division of VMware
Lead, SpringSource Tools Team
http://www.springsource.com
http://twitter.com/cdupuis
It isn't just one applicationContext, we have about 16 context files which make a config set. Some of those are imported with the import tag (mainly beanspostprocessors). The class which SpringIDE is missing is a whole list I'm afraid, I have a list of 535 warnings, with about 30/40 for 1 missing class.Can you send - or attach to a ticket - your eclpise .classpath file and the part of the applicationContext.xml that is causing the problem. Furthermore it would be good to know what class Spring IDE is missing.
I'll see what I can do.
A message has been sent, I wasn't comfortable on making configuration details public so an email is somewhere on the way.
Last edited by Marten Deinum; Feb 19th, 2007 at 03:35 AM.
Marten Deinum
Java Consultant / Pragmatist / Open Source Enthousiast / Author
Pro Spring MVC: With Web Flow
Conspect
Have you read the reference guide.
Use the [ code ] tags, young padawan