- This topic has 4 replies, 3 voices, and was last updated 11 years, 8 months ago by Aldriel.
-
AuthorPosts
-
AldrielMemberI’m try to run a project made on MyEclipse blue 10.x with MyEclipse 2013 and it fails.
It says the project needs migration, but when I try to migrate it I get an error message:
Cannot initialize migration process of project sl_traduction.
Error while parsing XML file C:/usr/local/…/.springBeans.
Resource ‘/…/.springBeans’ does not exist.
Resource ‘/…/.springBeans’ does not exist.
Error while parsing XML file C:/usr/local/…/.springBeans.
Resource ‘/…/.springBeans’ does not exist.
Resource ‘/…/.springBeans’ does not exist.Ayone else had the same kind of problem?
support-swapnaModeratorAldriel,
Sorry that you are seeing this issue.
Clear the contents of the .log file which is located at <workspace dir>/.metadata/.log. Now run the project migration and copy paste the entire contents of the .log file here for us to investigate further.
AldrielMemberI did as you asked. Here’s the content of the log file:
!ENTRY com.genuitec.eclipse.runtime 4 0 2013-05-10 08:41:17.582
!MESSAGE Cannot find JVM: org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/WebSphere 8 JDK. Runtime Websphere 8.0 will be missing JRE component.!ENTRY com.genuitec.eclipse.migration 4 0 2013-05-10 08:41:17.957
!MESSAGE Cannot initialize migration process of project sl_traduction.
!STACK 1
com.genuitec.eclipse.core.GenuitecCoreException: Error while parsing XML file C:/usr/local/Migration_WS/Traduction/sl_traduction/.springBeans.
at com.genuitec.eclipse.core.util.XMLUtils.parse(XMLUtils.java:91)
at com.genuitec.eclipse.springframework.migration.InstallSpringFacet.detectFacetVersion(InstallSpringFacet.java:156)
at com.genuitec.eclipse.migration.core.project.AbstractFacetInstallingProjectMigrationDelegate.initialize(AbstractFacetInstallingProjectMigrationDelegate.java:45)
at com.genuitec.eclipse.springframework.migration.InstallSpringFacet.initialize(InstallSpringFacet.java:55)
at com.genuitec.eclipse.migration.core.project.internal.ProjectMigrationOperation.<init>(ProjectMigrationOperation.java:41)
at com.genuitec.eclipse.migration.core.project.internal.MigratingProject.initilizeMigrationProcess(MigratingProject.java:974)
at com.genuitec.eclipse.migration.core.project.internal.ProjectsMigrationJob.run(ProjectsMigrationJob.java:93)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
Caused by: org.eclipse.core.internal.resources.ResourceException: Resource ‘/sl_traduction/.springBeans’ does not exist.
at org.eclipse.core.internal.resources.Resource.checkExists(Resource.java:341)
at org.eclipse.core.internal.resources.Resource.checkAccessible(Resource.java:215)
at org.eclipse.core.internal.resources.File.getContents(File.java:287)
at com.genuitec.eclipse.core.util.XMLUtils.parse(XMLUtils.java:82)
… 7 more
Contains: Resource ‘/sl_traduction/.springBeans’ does not exist.
!SUBENTRY 1 com.genuitec.eclipse.springframework 4 0 2013-05-10 08:41:17.957
!MESSAGE Error while parsing XML file C:/usr/local/Migration_WS/Traduction/sl_traduction/.springBeans.
!STACK 1
org.eclipse.core.internal.resources.ResourceException: Resource ‘/sl_traduction/.springBeans’ does not exist.
at org.eclipse.core.internal.resources.Resource.checkExists(Resource.java:341)
at org.eclipse.core.internal.resources.Resource.checkAccessible(Resource.java:215)
at org.eclipse.core.internal.resources.File.getContents(File.java:287)
at com.genuitec.eclipse.core.util.XMLUtils.parse(XMLUtils.java:82)
at com.genuitec.eclipse.springframework.migration.InstallSpringFacet.detectFacetVersion(InstallSpringFacet.java:156)
at com.genuitec.eclipse.migration.core.project.AbstractFacetInstallingProjectMigrationDelegate.initialize(AbstractFacetInstallingProjectMigrationDelegate.java:45)
at com.genuitec.eclipse.springframework.migration.InstallSpringFacet.initialize(InstallSpringFacet.java:55)
at com.genuitec.eclipse.migration.core.project.internal.ProjectMigrationOperation.<init>(ProjectMigrationOperation.java:41)
at com.genuitec.eclipse.migration.core.project.internal.MigratingProject.initilizeMigrationProcess(MigratingProject.java:974)
at com.genuitec.eclipse.migration.core.project.internal.ProjectsMigrationJob.run(ProjectsMigrationJob.java:93)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
!SUBENTRY 2 org.eclipse.core.resources 4 368 2013-05-10 08:41:17.957
!MESSAGE Resource ‘/sl_traduction/.springBeans’ does not exist.
!SUBENTRY 2 org.eclipse.core.resources 4 368 2013-05-10 08:41:17.957
!MESSAGE Resource ‘/sl_traduction/.springBeans’ does not exist.
!SUBENTRY 1 com.genuitec.eclipse.springframework 4 0 2013-05-10 08:41:17.957
!MESSAGE Error while parsing XML file C:/usr/local/Migration_WS/Traduction/sl_traduction/.springBeans.
!STACK 1
org.eclipse.core.internal.resources.ResourceException: Resource ‘/sl_traduction/.springBeans’ does not exist.
at org.eclipse.core.internal.resources.Resource.checkExists(Resource.java:341)
at org.eclipse.core.internal.resources.Resource.checkAccessible(Resource.java:215)
at org.eclipse.core.internal.resources.File.getContents(File.java:287)
at com.genuitec.eclipse.core.util.XMLUtils.parse(XMLUtils.java:82)
at com.genuitec.eclipse.springframework.migration.InstallSpringFacet.detectFacetVersion(InstallSpringFacet.java:156)
at com.genuitec.eclipse.migration.core.project.AbstractFacetInstallingProjectMigrationDelegate.initialize(AbstractFacetInstallingProjectMigrationDelegate.java:45)
at com.genuitec.eclipse.springframework.migration.InstallSpringFacet.initialize(InstallSpringFacet.java:55)
at com.genuitec.eclipse.migration.core.project.internal.ProjectMigrationOperation.<init>(ProjectMigrationOperation.java:41)
at com.genuitec.eclipse.migration.core.project.internal.MigratingProject.initilizeMigrationProcess(MigratingProject.java:974)
at com.genuitec.eclipse.migration.core.project.internal.ProjectsMigrationJob.run(ProjectsMigrationJob.java:93)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
!SUBENTRY 2 org.eclipse.core.resources 4 368 2013-05-10 08:41:17.957
!MESSAGE Resource ‘/sl_traduction/.springBeans’ does not exist.
!SUBENTRY 2 org.eclipse.core.resources 4 368 2013-05-10 08:41:17.957
!MESSAGE Resource ‘/sl_traduction/.springBeans’ does not exist.
support-piotrParticipantAldriel,
Migration framework expects to find “.springBeans” file in the root folder of the project, which contains information regarding used Spring version. As a workaround, you should create that file with following contents:
<?xml version="1.0" encoding="UTF-8"?> <beansProjectDescription> <springVersion>2.0</springVersion> </beansProjectDescription>
As a Spring version (instead of 2.0) you can use: 1.2, 2.0, 2.5, 3.0 and 3.1
I would like to investigate your issue closer, to avoid such problems in the future. Could you please send us “.project”, “.classpath”, any other “.*” files and “.settings” folder of your project? I would really appreciate them 🙂
Let us know if the workaround worked for you!
AldrielMemberNevermind, I worked without migrating the project and it went just fine.
And I already moved to another project, so this isn’t an issue anymore (for the moment…).
Thank you for your time.
-
AuthorPosts