“源文件夹不是Java项目”日食错误 [英] "Source folder is not a Java project" error in eclipse

查看:197
本文介绍了“源文件夹不是Java项目”日食错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试将maven项目导入到eclipse 4.2版本中。它不能正确导入项目。它给我的错误源文件夹不是一个Java项目,而我正在尝试在其中创建一个新的调用。甚至ctrl +鼠标点击也不工作。我不明白问题。即使我右键单击项目并选择构建路径,它显示我没有可用的操作。任何人面对同样的问题

解决方案

在maven项目目录中尝试

  mvn eclipse:eclipse 

/ p>

I am trying to import maven project into eclipse 4.2 version.Its not importing the project properly. Its giving me error "Source folder is not a Java project" while I am trying to create a new call in it. Even ctrl+mouse click is also not working. I don't understand the problem. Even when I right click on project and select build path it shows me no action available. Anyone face the same issue

解决方案

In the maven project directory try

mvn eclipse:eclipse

that may do the trick.

这篇关于“源文件夹不是Java项目”日食错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆