Myeclipse报错:“Versions of Spring facet could not be detec

解决方法如下:

VERSION OF SPRING FACET COULD NOT BE DETECTED.

The migration process needs to detect the correct version of Spring support used by a project. If the process fails to detect the version based on containers used by the project, it tries to read it from the.springBeansfile. If the file is missing, the migration process is unable to continue.

You need to manually create the file in the root of the project, before invoking the Migration wizard. To do so, right-click the project, and select New>File from the menu. Enter.springBeansas the file name, and click Finish. The.springBeansfile editor should open. Paste the following code into it, and save the file.

<?xml version="1.0" encoding="UTF-8"?><beansProjectDescription><springVersion>2.0</springVersion></beansProjectDescription>

Now you can rerun the migration process by selecting MyEclipse>Migrate Projects from theMyEclipsemenu, or run the process from the Project Migration view.

Note:The.springBeansfile might not appear in the Package Explorer view; you will need to disable the.* resourcesfilter to see it. To do so, click the white triangle (View menu) in the top-right corner of the Package Explorer view and select Filters. Next, deselect the.* resourcesfilter, and click OK. You should now be able to see the.springBeansfile.

版权声明:本文为博主原创文章,未经博主允许不得转载。

,害怕攀登高峰的人,永远在山下徘徊。

Myeclipse报错:“Versions of Spring facet could not be detec

相关文章:

你感兴趣的文章:

标签云: