facebook

Project Migration problem from 10.x to 2013

  1. MyEclipse IDE
  2.  > 
  3. WebSphere Development
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #338950 Reply

    Aldriel
    Member

    I’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?

    #338972 Reply

    support-swapna
    Moderator

    Aldriel,

    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.

    #338982 Reply

    Aldriel
    Member

    I 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.

    #339316 Reply

    support-piotr
    Participant

    Aldriel,

    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!

    #339323 Reply

    Aldriel
    Member

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

Viewing 5 posts - 1 through 5 (of 5 total)
Reply To: Project Migration problem from 10.x to 2013

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