Myeclipse:Versions of Spring facet could not be de
2015-06-09 00:00
381 查看
摘要: Myeclipse报错:“Versions of Spring facet could not be detected”的解决方法
Myeclipse报错:“Versions of Spring facet could not be detected”的解决方法
解决方法如下:
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”的解决方法
解决方法如下:
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.
相关文章推荐
- SPRING-SESSION
- Java super()
- Spring MVC如何访问到静态的文件,如jpg,js,css?
- Eclipse将引用了第三方jar包的Java项目打包成jar文件的两种方法
- SPRING-SESSION
- Eclipse failed to create jvm
- 设计模式---观察者模式(Observer Pattern with java)
- 如何用jar命令将Java打包成jar文件详解
- JAVA虚拟机体系结构
- 《JAVA与模式》之策略模式
- Java基础笔记 – Java中的Exception异常 自定义异常
- 《JAVA与模式》之观察者模式
- 《Java从入门到精通》第七章学习笔记
- 阅读JDK源码有感
- 再回首,Java温故知新(九):Java基础之流程控制语句
- java_nio基础篇之Channel、Selector、Path、Paths、Pipe、Files
- 2015届华为校园招聘机试题 java实现
- 下拉列表框Spinner-采用javabean作为Adapter元素
- java开发中遇到的问题:rt.jar访问限制
- jdk1.7官方下载地址(全部)