eclipse import的项目报autowired cannot be resolved to a type的错误
2014-07-09 16:06
267 查看
eclipse报autowired cannot be resolved to a type的错误,一般情况是依赖的JDK或者jar包有问题,检查build path可以排查文件,我今天遇到这个情况,是因为我新导入的项目,没有在eclipse里maven关联,在eclipse里右键点击项目,然后选择第一项关联maven就好了。或者也许可以直接在import的时候选择maven目录下的引入maven项目选项。
相关文章推荐
- 解决myeclipes : Assert cannot be resolved, Autowired cannot resolved to a type问题
- 【项目错误总结】XX cannot be resolved to a type
- java 导入的项目很多都报javax.servlet.jsp cannot be resolved to a type的错误,不是导包问题
- java 项目导入Eclipse时出现错误:httpservletrequest cannot be resolved to a type
- Eclipse luna 导入web项目出现错误 String cannot be resolved to a type
- android编译错误“OnClickListener cannot be resolved to a type”解决方案
- Maven项目中提示:Eclipse “cannot be resolved to a type” error
- android编译错误“OnClickListener cannot be resolved to a type”
- android编译错误“OnClickListener cannot be resolved to a type”解决方案
- 关于Android中“OnClickLinstener cannot be resolved to a type”的错误
- xxx cannot be resolved to a type 错误解决方法
- xxx cannot be resolved to a type 错误解决方法
- 添加到eclipse的现有项目为什么会全线飘红 String cannot be resolved to a type
- MyEclipse中出现“HttpServletRequest cannot be resolved to a type”的错误
- maven项目,代码正确的情况下,整个项目中的类报cannot be resolved to a type
- Java错误提示------xxx cannot be resolved to be a type
- 使用Maven创建Web项目后,jsp引入静态文件提示报错。JSP 报错:javax.servlet.ServletException cannot be resolved to a type
- 出现错误:TextView cannot be resolved to a type
- maven项目工程报错:cannot be resolved to a type
- adt "cannot be resolved to a type"错误解决办法