Hi,
can you provide me the .classpath and .project files of the projects under question or even two test projects? That would help me rebuilding your setup.
Thanks in advance,
Christian
Hi,
can you provide me the .classpath and .project files of the projects under question or even two test projects? That would help me rebuilding your setup.
Thanks in advance,
Christian
Christian Dupuis
SpringSource, a division of VMware
Lead, SpringSource Tools Team
http://www.springsource.com
http://twitter.com/cdupuis
I was able to reproduce the error you described with linked binary folders (see ticket 688). The fix is available from the CI build system or tomorrow's nightly build.
Can you please double check if the issue is solved for you so we can release 2.0.1.
Christian
Christian Dupuis
SpringSource, a division of VMware
Lead, SpringSource Tools Team
http://www.springsource.com
http://twitter.com/cdupuis
Confirmed working against "build-322/updatesite_nightly". Thanks again Christian!
-barry
(BTW, when you release this you might want to mention that the eclipse jmx plugins will probably need to be installed as prereqs).
Barry Kaplan (memelet)
Hi Barry,
go to hear that it is working...
I'm not aware that Spring IDE does have any dependency to JMX plugins. Did the update manager gave you a related error message?(BTW, when you release this you might want to mention that the eclipse jmx plugins will probably need to be installed as prereqs).
Christian
Christian Dupuis
SpringSource, a division of VMware
Lead, SpringSource Tools Team
http://www.springsource.com
http://twitter.com/cdupuis
Yes. I'm not sure what feature was the trigger. But I just selected the eclipse update site along with local CI update site and selected the two jmx features. Then all was good.I'Did the update manager gave you a related error message?
Of course, sometimes eclipse will have existing plugins that depend on plugins that are not already included the eclipse instance. And when attempting to install a new unrelated plugin, eclipse will then complain about the missing dependencies. In fact, this was the case the 3.3 JEE distribution. In order to add /any/ other plugins to that distribution, a bunch of persistence related plugins needed to be first installed. So this could be the case here. I did not try to figure it out, I just installed the jmx features.
-barry
Barry Kaplan (memelet)
This might be dormant thread, but the problem has stopped me for more than one day already. The problem I have is errors in my project's applicationContenxt.xml. There are 10 such errors in total, one is for "Component-scan" statement, and other 9 for bean definitions.
I just realized their existence in the applicationContext.xml, and do not know what changes in the project triggered these. One thing I am sure is that I have not made any changes to the applicationContext.xml file itself.
The error message is "Build path is incomplete. Cannot find class file for org/SandRiver/commons/ActivityStatus"
1. I double checked, both java and class files are in correct directory.
2. While some bean definitions have this error message, others do not. Almost all classes in the project extends ActivityStatus
3. There are also cases where missing of other class files are the problems, but most of the time, it is ActivityStatus.
4. This is eclipse Indigo, in J2EE perspective.
Any suggestions/advices are greatly appreciated
John Zhu
Last edited by zhuzh@hotmail.com; Feb 6th, 2013 at 04:24 PM.
A follow up. My problem has been resolved. The error was caused by the following sequence of events:
1. In order to consolidate shared classes, I created a jar file, put it in the lib, set build-path etc.
2. I then removed the directory in eclipse which housed the classes in the jar file.
3. I then updated my applicationContext.xml by removing corresponding component-scan of the removed direcotry/package.
this step turns out to the mistake.
The solution is to put back the component-scan statement in applicationContext.xml. Even though the directory has been removed, the scan statement (I am speculating now) instructed eclipse to scan corresponding jar file.
Regards,
John
Hey John!
Can you maybe attach a set of sample projects that reproduce the problem?
The error indicates that the mentioned class is somehow not accessible from the application context (not on the classpath of the project), but since you mentioned that the class is there, I would love to take a look at this in more detail.
Thanks for your help!
-Martin
Martin Lippert
SpringSource, a division of VMware
SpringSource Tools Team
http://www.springsource.com
http://twitter.com/martinlippert
Martin,
Thanks for following up my question. I posted a followup later when I found the problem: I
accidentally removed a "Component-scan" from my application-Context.xml when I extracted
java files in a directory into a jar file. After I restall the "component-scan" statement, the
problem was resolved.
Do you want me comment out "component-scan" to reproduce the error?
Regards
John
Hey John!
Would be interesting to see your exact setup in case the error comes back after commenting out the "component-scan". Do you think it would be possible to extract a sample setting for this that I could take a look at? That would be wonderful...!!!
Cheers,
-Martin
Martin Lippert
SpringSource, a division of VMware
SpringSource Tools Team
http://www.springsource.com
http://twitter.com/martinlippert