`

Source folder is not a Java project

 
阅读更多
在eclipse创建maven项目后,不能在src\main\java下创建目录和java类,提示:Source folder is not a Java projecterw,于是在cmd命令窗口跳到该项目的目录下执行mvn eclipse:eclipse,maven会自动下载一些jar包文件到仓库下,完成后在该目录下可以创建目录和java类了。
查了下mvn eclipse:eclipse命令是将maven项目转化为eclipse项目
分享到:
评论

相关推荐

    使用ant从多个SourceFolder的项目中导出jar包的测试项目

    有些项目中存在多个SourceFolder,而我们可能需要从其中一个SourceFolder中导出jar包。使用ant进行简单的编译打包已经不能满足该需求。笔者经过细心研究,找到了一种可行的解决方案。详情请参考该完整的java项目,...

    Java邮件开发Fundamentals of the JavaMail API

    It is not a mail transfer protocol. Instead, it defines the content of what is transferred: the format of the messages, attachments, and so on. There are many different documents that take effect ...

    burp suite 1.7.26 破解版 永不过期 burploader unlimited

    This project is NOT intended to replace BurpLoader. It just EXTENDS BurpLoader's license! To run the project from the command line: java -javaagent:BurpUnlimited.jar -agentpath:lib/libfaketime...

    javacv-platform-1.3.3-src

    In the Projects window, right-click the Libraries node of your project, and select "Add JAR/Folder...". Locate the JAR files, select them, and click OK. Eclipse (Java SE 7 or newer): Navigate to ...

    VB编程资源大全(英文源码 网络)

    <END><br>22 , Worldmeet.zip This is the source code for a client and server chat program. <END><br>23 , RemoteFileExp.zip This utility allows you to remotely reboot, log-off, 下载 files, delete ...

    apktool documentation

    apks are nothing more than a zip file containing resources and compiled java. If you were to simply unzip an apk like so, you would be left with files such as classes.dex and resources.arsc. $ unzip...

    UE(官方下载)

    A question we often see is "I have a lot of blank lines in my file and I don't want to go through and manually delete them. Is there an easier way to do this?" The answer is: yes! Configure FTP Set up...

    VB编程资源大全(英文源码 控制)

    1.x/6.0 (Java) <END><br>6 , ocxex.zip "This is a quick example I made to show you how to use Events and properties in a OCX."<END><br>7 , news.exe This control aids as a complete Newsgroup ...

    android开发环境搭建

    is missing required source folder: 'gen'"的错误,可以删除"gen"目录下的"Android.Test.R.java"文件,Eclipse会自动生成一个新的。 6. **配置运行配置** - 选择项目,右键点击"Run As" -> "Run Configurations...

    Visual C++ 编程资源大全(英文源码 其它)

    in that adds the ability to launch windows explorer in the directory of the currently active project(32KB)<END><br>74,PLC111.zip Get statistics about your source code with a click of a button(392KB...

Global site tag (gtag.js) - Google Analytics