Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/java/305.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
使用Maven构建Storm项目,但找不到结果java项目_Java_Eclipse_Maven_Build_Apache Storm - Fatal编程技术网

使用Maven构建Storm项目,但找不到结果java项目

使用Maven构建Storm项目,但找不到结果java项目,java,eclipse,maven,build,apache-storm,Java,Eclipse,Maven,Build,Apache Storm,在执行命令“mvneclipse:eclipse”之后,我得到了以下输出。 它表明构建是成功的,但没有在那里构建java项目。 我不明白为什么 [INFO] Scanning for projects... [WARNING] [WARNING] Some problems were encountered while building the effective model for storm.cookbook:hello-world:jar:0.0.1-SNAPSHOT [WARNING]

在执行命令“mvneclipse:eclipse”之后,我得到了以下输出。
它表明构建是成功的,但没有在那里构建java项目。 我不明白为什么

[INFO] Scanning for projects...
[WARNING] 
[WARNING] Some problems were encountered while building the effective model for storm.cookbook:hello-world:jar:0.0.1-SNAPSHOT
[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-compiler-plugin is missing. @ line 105, column 9
[WARNING] 
[WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
[WARNING] 
[WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
[WARNING] 
[INFO] 
[INFO] Using the builder org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder with a thread count of 1
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building hello-world 0.0.1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] >>> maven-eclipse-plugin:2.9:eclipse (default-cli) @ hello-world >>>
[INFO] 
[INFO] <<< maven-eclipse-plugin:2.9:eclipse (default-cli) @ hello-world <<<
[INFO] 
[INFO] --- maven-eclipse-plugin:2.9:eclipse (default-cli) @ hello-world ---
[INFO] Using Eclipse Workspace: null
[INFO] Adding default classpath container: org.eclipse.jdt.launching.JRE_CONTAINER
[INFO] Wrote settings to /home/junfu/RESEARCH/HelloWorld/.settings/org.eclipse.jdt.core.prefs
[INFO] Wrote Eclipse project for "hello-world" to /home/junfu/RESEARCH/HelloWorld.
[INFO] 
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1.896 s
[INFO] Finished at: 2014-05-30T15:55:26-06:00
[INFO] Final Memory: 10M/114M
[INFO] ------------------------------------------------------------------------
[INFO]正在扫描项目。。。
[警告]
[警告]为storm构建有效模型时遇到一些问题。cookbook:hello world:jar:0.0.1-SNAPSHOT
[警告]“org.apache.maven.plugins:maven编译器插件”的“build.plugins.plugin.version”丢失。@第105行第9栏
[警告]
[警告]强烈建议修复这些问题,因为它们会威胁到构建的稳定性。
[警告]
[警告]出于这个原因,未来的Maven版本可能不再支持构建这种格式错误的项目。
[警告]
[信息]
[信息]使用线程计数为1的生成器org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder
[信息]
[信息]------------------------------------------------------------------------
[信息]构建hello world 0.0.1-SNAPSHOT
[信息]------------------------------------------------------------------------
[信息]
[信息]>>>maven eclipse插件:2.9:eclipse(默认cli)@hello world>>>
[信息]

[信息]你是说
/home/junfu/RESEARCH/HelloWorld
目录不存在?另外,
eclipse:eclipse
已经过时了。改用m2eclipse并从Eclipse中导入项目。不,我创建了那个目录,但我认为应该在构建之后生成一些java代码,对吗?但是没有生成java代码,所以当我编写代码时,它找不到诸如“Tuple”或“BaseRichBolt”之类的类。