Myeclipse报错:“Versions of Spring facet could not be detected”的解决方法
2017-06-14 14:45
591 查看
http://blog.csdn.net/accp_fangjian/article/details/43059381
解决方法如下:
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 .springBeans file.
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 .springBeans as
the file name, and click Finish. The .springBeans file 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 .springBeans file
might not appear in the Package Explorer view; you will need to disable the.* resources filter 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 .* resources filter,
and click OK. You should now be able to see the .springBeans file.
解决方法如下:
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 .springBeans file.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 .springBeans as
the file name, and click Finish. The .springBeans file 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 .springBeans file
might not appear in the Package Explorer view; you will need to disable the.* resources filter 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 .* resources filter,
and click OK. You should now be able to see the .springBeans file.
相关文章推荐
- Myeclipse报错:“Versions of Spring facet could not be detected”的解决方法
- Myeclipse报错:“Versions of Spring facet could not be detected”的解决方法(转):译
- web工程导入到MyEclipse2017出现"Versions of Spring facet could not be detected”的解决方法
- Myeclipse报错:“Versions of Spring facet could not be detected”的解决方法
- “Versions of Spring facet could not be detected”的解决方法
- eclipse maven工程导入到MyEclipse出现"Versions of Spring facet could not be detected”的解决方法
- version of spring facet could not be detected
- version of spring facet could not be detected.see error log for details.解决方案
- The version of CKEditor could not be detected.解决方法
- Myeclipse:Versions of Spring facet could not be de
- Myeclipse导入Maven项目是遇到Version of Spring Facet could not be detected.
- Myelipcse导入Maven项目: version of spring facet could not be detected
- Oracle 安装报错 [INS-06101] IP address of localhost could not be determined 解决方法
- Oracle 安装报错 [INS-06101] IP address of localhost could not be determined 解决方法
- [INS-06101] IP address of localhost could not be determined 解决方法
- Oracle 安装报错 [INS-06101] IP address of localhost could not be determined 解决方法
- Oracle 安装报错 [INS-06101] IP address of localhost could not be determined 解决方法
- Oracle 安装报错 [INS-06101] IP address of localhost could not be determined 解决方法
- Oracle 安装报错 [INS-06101] IP address of localhost could not be determined 解决方法
- some of the properties associated with the solution could not be read解决方法