facebook

Bug when creating spring 2.5

💡
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 Archived
  2.  > 
  3. Bugs
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #288219 Reply

    geek.shrek
    Member

    Hi,

    I’m trying to create a web project with spring 2.5.

    But everytime I add bean config for example test-servlet.xml, the spring version change suddenly to 1.2 (I checked this in the project properties).

    I also tried only using applicationContext.xml, but when I move the applicationContext.xml, for example from /src/main/java to Webroot/WEB-INF it changed the project spring to 1.2. But I created this project with spring 2.5

    How can I add bean in spring 2.5? Or How can I keep my project with spring 2.5?

    Thanks,

    #288229

    Loyal Water
    Member

    Can you go to MyEclipse > Installation Summary > Installation Details and paste the information here for me.

    Can you list out the exact steps to help me reproduce this bug.

    #288253

    geek.shrek
    Member

    I’m using it on Windows XP. JDK 1.6_07
    I’m using MyEclipse_6.5.1GA_E3.3.2_Installer.exe to installed MyEclipse 6.5
    I’m using :

      * Spring 2.5 AOP Libraries
      * Spring 2.5 Core Libraries
      * Spring 2.5 Persistence Core Library
      * Spring 2.5 Persistence JDBC Library
      * Spring 2.5 Web Library

    1. Create a new Web Project
    2. Add Spring 2.5 Capabilities to the Web Project
    3. Which will create a new ApplicationContext.xml in /src/main/java
    With this step I have tried a few ways and MyEclipse still changed to Spring 1.2

      a. I created ApplicationContext.xml just like the default directory which is /src/main/java then I moved ApplicationContext.xml into /Webroot/WEB-INF (by drag and drop). After that When I check the web project Spring changed to 1.2, but originally I add capabilities Spring 2.5

      b. I created ApplicationContext.xml and leave it where it is. I added a new beans, so I created for example abc-servlet.xml in /Webroot/WEB-INF. and add it into Spring bean property. I checked the web project Spring then changed to version 1.2

    4. I deleted the web project that I just created, the import an existing web project with Spring 2.5 capabilities (which I created on different OS — Vista, different computer). But after I imported this project, The spring capabilities become 1.2

    Here’s the installation Details

    *** Date:
    Friday, 15 August 2008 11:05:16 AM EST

    ** System properties:
    OS=WindowsXP
    OS version=5.1
    Java version=1.5.0_11

    *** MyEclipse details:
    MyEclipse Enterprise Workbench
    Version: 6.5.1 GA
    Build id: 6.5.1-GA-20080715

    *** Eclipse details:
    MyEclipse Enterprise Workbench

    Version: 6.5.1 GA
    Build id: 6.5.1-GA-20080715

    Eclipse Platform

    Version: 3.3.3.r33x_r20080129-_19UEl7Ezk_gXF1kouft
    Build id: M20080221-1800

    Eclipse RCP

    Version: 3.3.3.r33x_r20080129-8y8eE9UEUWI6qujeED0xT7bc
    Build id: M20080221-1800

    Eclipse Java Development Tools

    Version: 3.3.2.r33x_r20080129-7o7jE7_EDhYDiyVEnjb1pFd7ZGD7
    Build id: M20080221-1800

    Eclipse Plug-in Development Environment

    Version: 3.3.3.r33x_r20080129-7N7M5DQVIA_6oJsEFkEL
    Build id: M20080221-1800

    Eclipse Project SDK

    Version: 3.3.3.r33x_r20080129-7M7J7LB-u3aphGW6o3_VmiVfGXWO
    Build id: M20080221-1800

    Eclipse Graphical Editing Framework

    Version: 3.3.2.v20080129
    Build id: 20080221-1602

    Eclipse startup command=-os
    win32
    -ws
    win32
    -arch
    x86
    -showsplash
    -launcher
    C:\Program Files\MyEclipse 6.5\eclipse\eclipse.exe
    -name
    Eclipse
    –launcher.library
    C:\Program Files\MyEclipse 6.5\eclipse\plugins\org.eclipse.equinox.launcher.win32.win32.x86_1.0.3.R33x_v20080118\eclipse_1023.dll
    -startup
    C:\Program Files\MyEclipse 6.5\eclipse\plugins\org.eclipse.equinox.launcher_1.0.1.R33x_v20080118.jar
    -exitdata
    1478_70
    -clean
    -vm
    C:\Program Files\MyEclipse 6.5\jre\bin\javaw.exe

    I hope this help.

    Good Luck. 🙂

    #288278

    Loyal Water
    Member

    a. I created ApplicationContext.xml just like the default directory which is /src/main/java then I moved ApplicationContext.xml into /Webroot/WEB-INF (by drag and drop). After that When I check the web project Spring changed to 1.2, but originally I add capabilities Spring 2.5

    I was unable to reproduce this condition. How are you checking if your web project has switched to 1.2? I Can you right click on your project and go to Properties > MyEclipse > Spring and check the spring version there.

    #288282

    if you also have an installation of Spring IDE in addition to MyEclipse, this may cause a conflict. I would remove Spring IDE if you have it installed.

    #288291

    geek.shrek
    Member

    How are you checking if your web project has switched to 1.2? I Can you right click on your project and go to Properties > MyEclipse > Spring and check the spring version there.

    I Checked my Spring version by right click on my project and go to Properties > MyEclipse > Spring

    And No, I don’t have any addition of Spring other than the one from MyEclipse.

    I reinstall Myeclipe and it still have this problem. 🙁

    #288346

    Loyal Water
    Member

    Can you switch to a new workspace (File > Switch Workspace > Temp) and try reproducing this with a brand new project.

    You installed MyEclipse using the All in One installer?

Viewing 7 posts - 1 through 7 (of 7 total)
Reply To: Bug when creating spring 2.5

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