For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub
- This topic has 6 replies, 2 voices, and was last updated 19 years, 4 months ago by
cusdx.
-
AuthorPosts
-
cusdxMemberHi, I’m trying to see the Spring Bean view for my project and have followed the Spring introduction tutorial at:
http://www.myeclipseide.com/images/tutorials/quickstarts/springintroduction/tutorial.html
However, I’m having trouble telling Eclipse which my Spring configuration files are, because “Spring” is not appearing under “MyEclipse” in “Project Properties”. I see that “Spring” is greyed out in the list of “Installed Capabilities”, as is Hibernate, although it’s also a Hibernate project.
Can you please advise?
March 29, 2007 at 12:35 pm #268146
Riyad KallaMemberYou have to add Spring capabilities before MyEclipse can show you that view. If you go to your project properties then MyEclipse, is the Spring icon grayed out or lit up?
Also what kind of project is this? What do the contents of your .project file look like?
March 30, 2007 at 3:44 am #268172
cusdxMemberHi Riyad,
Thanks for your reply. Yes, Spring is grayed out. I’ve appended the .project file below. I think when I initially created the project I set it up as a “Web Project”.
Zoe
<?xml version=”1.0″ encoding=”UTF-8″?>
<projectDescription>
<name>photoCapture</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>com.genuitec.eclipse.j2eedt.core.WebClasspathBuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.jdt.core.javabuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>com.genuitec.eclipse.j2eedt.core.J2EEProjectValidator</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>com.genuitec.eclipse.j2eedt.core.DeploymentDescriptorValidator</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.wst.validation.validationbuilder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>com.genuitec.eclipse.j2eedt.core.webnature</nature>
<nature>org.eclipse.jdt.core.javanature</nature>
</natures>
</projectDescription>March 30, 2007 at 8:46 am #268181
Riyad KallaMemberZoe,
Thank you for posting that. If you right-click on the root of the web project and go down to MyEclipse, is the Add Spring Capabilities feature enabled? It should be, try and add Spring caps that way.March 30, 2007 at 10:57 am #268184
cusdxMemberYes I can see it, and also “add hibernate properties”. If I go for it, will the directory structure of my project be changed or will there be any other configuration change? (Don’t want to mess anything up!)
March 30, 2007 at 11:09 am #268185
Riyad KallaMemberThe wizards will walk you through all the steps and no, no layout needs to be changed.
April 2, 2007 at 3:54 am #268225
cusdxMemberThanks, I’ve done it!
-
AuthorPosts
