facebook

trying to see Spring Bean view

💡
Our Forums Have Moved

For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub

  1. MyEclipse IDE
  2.  > 
  3. Java EE Development (EJB, JSP, Struts, XDoclet, etc.)
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #268118 Reply

    cusdx
    Member

    Hi, 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?

    #268146

    Riyad Kalla
    Member

    You 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?

    #268172

    cusdx
    Member

    Hi 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>

    #268181

    Riyad Kalla
    Member

    Zoe,
    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.

    #268184

    cusdx
    Member

    Yes 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!)

    #268185

    Riyad Kalla
    Member

    The wizards will walk you through all the steps and no, no layout needs to be changed.

    #268225

    cusdx
    Member

    Thanks, I’ve done it!

Viewing 7 posts - 1 through 7 (of 7 total)
Reply To: trying to see Spring Bean view

You must be logged in to post in the forum log in