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, 3 voices, and was last updated 17 years, 7 months ago by
Loyal Water.
-
AuthorPosts
-
geek.shrekMemberHi,
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,
August 14, 2008 at 8:23 am #288229
Loyal WaterMemberCan 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.
August 14, 2008 at 9:06 pm #288253
geek.shrekMemberI’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 Library1. 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 WorkbenchVersion: 6.5.1 GA
Build id: 6.5.1-GA-20080715Eclipse Platform
Version: 3.3.3.r33x_r20080129-_19UEl7Ezk_gXF1kouft
Build id: M20080221-1800Eclipse RCP
Version: 3.3.3.r33x_r20080129-8y8eE9UEUWI6qujeED0xT7bc
Build id: M20080221-1800Eclipse Java Development Tools
Version: 3.3.2.r33x_r20080129-7o7jE7_EDhYDiyVEnjb1pFd7ZGD7
Build id: M20080221-1800Eclipse Plug-in Development Environment
Version: 3.3.3.r33x_r20080129-7N7M5DQVIA_6oJsEFkEL
Build id: M20080221-1800Eclipse Project SDK
Version: 3.3.3.r33x_r20080129-7M7J7LB-u3aphGW6o3_VmiVfGXWO
Build id: M20080221-1800Eclipse Graphical Editing Framework
Version: 3.3.2.v20080129
Build id: 20080221-1602Eclipse 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.exeI hope this help.
Good Luck. 🙂
August 15, 2008 at 3:39 pm #288278
Loyal WaterMembera. 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.
August 15, 2008 at 8:05 pm #288282
Mike SmithsonMemberif 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.
August 17, 2008 at 6:39 pm #288291
geek.shrekMemberHow 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. 🙁
August 18, 2008 at 3:09 pm #288346
Loyal WaterMemberCan 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?
-
AuthorPosts
