[ERROR] Unable to read and import the source file : 'C:\Users\Administrator\.hudson\jobs\Deeplan\wor

原创 2015年04月23日 18:40:51
[INFO] [17:48:27.822] Execute org.apache.maven.plugins:maven-surefire-plugin:2.18:test done: 967 ms
[INFO] [17:48:27.822] Execute maven plugin maven-surefire-plugin done: 967 ms
[INFO] [17:48:27.822] Initializer JacocoMavenInitializer...
[INFO] [17:48:27.822] Initializer JacocoMavenInitializer done: 0 ms
[INFO] [17:48:27.822] Base dir: C:\Users\Administrator\.hudson\jobs\Deeplan\workspace\DEEPLAN\DEEPLAN-MR
[INFO] [17:48:27.822] Working dir: C:\Users\Administrator\.hudson\jobs\Deeplan\workspace\DEEPLAN\DEEPLAN-MR\target\sonar
[INFO] [17:48:27.822] Source dirs: C:\Users\Administrator\.hudson\jobs\Deeplan\workspace\DEEPLAN\DEEPLAN-MR\src
[INFO] [17:48:27.822] Test dirs: C:\Users\Administrator\.hudson\jobs\Deeplan\workspace\DEEPLAN\DEEPLAN-MR\src
[INFO] [17:48:27.822] Binary dirs: C:\Users\Administrator\.hudson\jobs\Deeplan\workspace\DEEPLAN\DEEPLAN-MR\target\classes
[INFO] [17:48:27.822] Source encoding: UTF-8, default locale: zh_CN
[INFO] [17:48:27.869] Sensor JavaSourceImporter...
[ERROR] Unable to read and import the source file : 'C:\Users\Administrator\.hudson\jobs\Deeplan\workspace\DEEPLAN\DEEPLAN-MR\src\main\java\cn\howso\deeplan\hbase\config\HBaseConfig.java' with the charset : 'UTF-8'.
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] DEEPLAN ............................................ FAILURE [ 23.103 s]
[INFO] DEEPLAN-MRCOMN ..................................... SKIPPED
[INFO] DEEPLAN-MR ......................................... SUCCESS [  0.780 s]
[INFO] DEEPLAN-UTIL ....................................... SKIPPED
[INFO] DEEPLAN-BASE ....................................... SKIPPED
[INFO] DEEPLAN-CORE ....................................... SKIPPED
[INFO] DEEPLAN-BEAN ....................................... SKIPPED
[INFO] DEEPLAN-DAO ........................................ SKIPPED
[INFO] DEEPLAN-SERVICE .................................... SKIPPED
[INFO] DEEPLAN-WEB Maven Webapp ........................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 23.259 s
[INFO] Finished at: 2015-04-23T17:48:42+08:00
[INFO] Final Memory: 33M/605M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.codehaus.mojo:sonar-maven-plugin:2.4:sonar (default-cli) on project DEEPLAN: Can not execute SonarQube analysis: Unable to read and import the source file : 'C:\Users\Administrator\.hudson\jobs\Deeplan\workspace\DEEPLAN\DEEPLAN-MR\src\main\java\cn\howso\deeplan\hbase\config\HBaseConfig.java' with the charset : 'UTF-8'. Duplicate source for resource: main.java.cn.howso.deeplan.hbase.config.HBaseConfig -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.codehaus.mojo:sonar-maven-plugin:2.4:sonar (default-cli) on project DEEPLAN: Can not execute SonarQube analysis
	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:216)
	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
	at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)
	at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
	at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
	at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:120)
	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:355)
	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:155)
	at org.apache.maven.cli.MavenCli.execute(MavenCli.java:584)
	at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:216)
	at org.apache.maven.cli.MavenCli.main(MavenCli.java:160)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:601)
	at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
	at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
	at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
	at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
Caused by: org.apache.maven.plugin.MojoExecutionException: Can not execute SonarQube analysis
	at org.codehaus.mojo.sonar.bootstrap.InternalMojoBootstraper.executeMojo(InternalMojoBootstraper.java:111)
	at org.codehaus.mojo.sonar.bootstrap.InternalMojoBootstraper.start(InternalMojoBootstraper.java:69)
	at org.codehaus.mojo.sonar.SonarMojo.execute(SonarMojo.java:142)
	at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:132)
	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)
	... 19 more
Caused by: org.apache.maven.plugin.MojoExecutionException: Unable to read and import the source file : 'C:\Users\Administrator\.hudson\jobs\Deeplan\workspace\DEEPLAN\DEEPLAN-MR\src\main\java\cn\howso\deeplan\hbase\config\HBaseConfig.java' with the charset : 'UTF-8'.
	at org.sonar.maven.ExceptionHandling.handle(ExceptionHandling.java:37)
	at org.sonar.maven.SonarMojo.execute(SonarMojo.java:175)
	at org.codehaus.mojo.sonar.bootstrap.InternalMojoBootstraper.executeMojo(InternalMojoBootstraper.java:106)
	... 23 more
Caused by: org.sonar.api.utils.SonarException: Unable to read and import the source file : 'C:\Users\Administrator\.hudson\jobs\Deeplan\workspace\DEEPLAN\DEEPLAN-MR\src\main\java\cn\howso\deeplan\hbase\config\HBaseConfig.java' with the charset : 'UTF-8'.
	at org.sonar.plugins.java.JavaSourceImporter.importSource(JavaSourceImporter.java:86)
	at org.sonar.plugins.java.JavaSourceImporter.parseDirs(JavaSourceImporter.java:70)
	at org.sonar.plugins.java.JavaSourceImporter.analyse(JavaSourceImporter.java:64)
	at org.sonar.plugins.java.JavaSourceImporter.analyse(JavaSourceImporter.java:59)
	at org.sonar.batch.phases.SensorsExecutor.execute(SensorsExecutor.java:72)
	at org.sonar.batch.phases.PhaseExecutor.execute(PhaseExecutor.java:114)
	at org.sonar.batch.scan.ModuleScanContainer.doAfterStart(ModuleScanContainer.java:142)
	at org.sonar.api.platform.ComponentContainer.startComponents(ComponentContainer.java:92)
	at org.sonar.api.platform.ComponentContainer.execute(ComponentContainer.java:77)
	at org.sonar.batch.scan.ProjectScanContainer.scan(ProjectScanContainer.java:187)
	at org.sonar.batch.scan.ProjectScanContainer.scanRecursively(ProjectScanContainer.java:182)
	at org.sonar.batch.scan.ProjectScanContainer.scanRecursively(ProjectScanContainer.java:180)
	at org.sonar.batch.scan.ProjectScanContainer.doAfterStart(ProjectScanContainer.java:175)
	at org.sonar.api.platform.ComponentContainer.startComponents(ComponentContainer.java:92)
	at org.sonar.api.platform.ComponentContainer.execute(ComponentContainer.java:77)
	at org.sonar.batch.scan.ScanTask.scan(ScanTask.java:57)
	at org.sonar.batch.scan.ScanTask.execute(ScanTask.java:45)
	at org.sonar.batch.bootstrap.TaskContainer.doAfterStart(TaskContainer.java:82)
	at org.sonar.api.platform.ComponentContainer.startComponents(ComponentContainer.java:92)
	at org.sonar.api.platform.ComponentContainer.execute(ComponentContainer.java:77)
	at org.sonar.batch.bootstrap.BootstrapContainer.executeTask(BootstrapContainer.java:156)
	at org.sonar.batch.bootstrap.BootstrapContainer.doAfterStart(BootstrapContainer.java:144)
	at org.sonar.api.platform.ComponentContainer.startComponents(ComponentContainer.java:92)
	at org.sonar.api.platform.ComponentContainer.execute(ComponentContainer.java:77)
	at org.sonar.batch.bootstrapper.Batch.startBatch(Batch.java:92)
	at org.sonar.batch.bootstrapper.Batch.execute(Batch.java:74)
	at org.sonar.runner.batch.IsolatedLauncher.execute(IsolatedLauncher.java:45)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:601)
	at org.sonar.runner.impl.BatchLauncher$1.delegateExecution(BatchLauncher.java:87)
	at org.sonar.runner.impl.BatchLauncher$1.run(BatchLauncher.java:75)
	at java.security.AccessController.doPrivileged(Native Method)
	at org.sonar.runner.impl.BatchLauncher.doExecute(BatchLauncher.java:69)
	at org.sonar.runner.impl.BatchLauncher.execute(BatchLauncher.java:50)
	at org.sonar.runner.api.EmbeddedRunner.doExecute(EmbeddedRunner.java:102)
	at org.sonar.runner.api.Runner.execute(Runner.java:90)
	at org.sonar.maven.SonarMojo.execute(SonarMojo.java:173)
	... 24 more
Caused by: org.sonar.api.resources.DuplicatedSourceException: Duplicate source for resource: main.java.cn.howso.deeplan.hbase.config.HBaseConfig
	at org.sonar.batch.index.SourcePersister.saveSource(SourcePersister.java:45)
	at org.sonar.batch.index.DefaultPersistenceManager.setSource(DefaultPersistenceManager.java:78)
	at org.sonar.batch.index.DefaultIndex.setSource(DefaultIndex.java:420)
	at org.sonar.batch.DefaultSensorContext.saveSource(DefaultSensorContext.java:161)
	at org.sonar.plugins.java.JavaSourceImporter.importSource(JavaSourceImporter.java:83)
	... 62 more
[ERROR] 
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
Sonar analysis completed: FAILURE

                    

android4.0 avd模拟器的默认路径修改默认AVD的路径一般为系统用户目录下,WIN7下为C:\Users\Administrator\

改变默认avd路径(win7下)    “安装完Android SDK后,默认会在C盘创建一个.Android的文件夹用来存放AVD.此时如果想修改AVD的路径,可以设置一个环境变量ANDROI...
  • feixiaku
  • feixiaku
  • 2014年08月12日 23:00
  • 1062

android4.0 avd模拟器的默认路径修改默认AVD的路径一般为系统用户目录下,WIN7下为C:\Users\Administrator\

改变默认avd路径(win7下)    “安装完Android SDK后,默认会在C盘创建一个.Android的文件夹用来存放AVD.此时如果想修改AVD的路径,可以设置一个环境变量ANDROID_...
  • xiangzi10
  • xiangzi10
  • 2013年01月10日 15:23
  • 4766

python文件命名陷阱

最近在学习python,学习到xml部分,按照教程弄了代码,如下: from xml.parsers.expat import ParserCreate class DefaultSaxHandl...
  • beagreatprogrammer
  • beagreatprogrammer
  • 2016年04月19日 11:01
  • 802

Qt中第一个Opengl程序

1. 目的:在Qt中使用Opengl函数绘制一个三角形; 2. 实现如下: // myQtOpenglWindow.h #ifndef MYQTOPENGLWINDOW_H #define MYQTO...
  • damotiansheng
  • damotiansheng
  • 2014年12月27日 12:31
  • 12760

Python 在windows下的配置

第一步:首先在网页中下载软件: 第二步:安装,选择第一个 Install now,等它自动安装成功 第三步:配置环境变量: 找到你安装的路径(自动安装一般在c盘,文件的路径比较深,可以采取搜索功能...
  • wang512hong
  • wang512hong
  • 2016年08月22日 09:29
  • 2184

PyCharm中运行django程序

使用PyCharm开发django程序,发现如果不在命令行而在IDE的django项目中直接运行django程序,发现报错的解决方法。...
  • yangjun19890825
  • yangjun19890825
  • 2016年08月07日 19:08
  • 4581

C++ 编程中遇到的一些实际问题

1:error:“placeholders”: 具有该名称的命名空间不存在 原因:没有写上包含该命名空间的头文件:#include  2::error:vector subscript out ...
  • misayaaaaa
  • misayaaaaa
  • 2017年03月12日 09:41
  • 947

Python 深入浅出 - IO 编程

标准输入 - 键盘默认的标准输入是键盘,Python 内置函数 input() 函数可以从标准输入读入一行文本。str = input("请输入你的名字:") print("你的名字:" ,str) ...
  • xingxtao
  • xingxtao
  • 2017年12月23日 21:51
  • 92

第四章:运算符的重载的一系列问题(课堂作业)

#include using namespace std; #include class String { public: String(); virtual ~St...
  • helloworld1270424789
  • helloworld1270424789
  • 2015年04月26日 18:40
  • 103

关于BCB的一些备忘

提示错误[ILINK32 Error] Fatal: Unable to open file 'XXX.OBJ'
  • u010218033
  • u010218033
  • 2014年05月14日 10:44
  • 996
内容举报
返回顶部
收藏助手
不良信息举报
您举报文章:[ERROR] Unable to read and import the source file : 'C:\Users\Administrator\.hudson\jobs\Deeplan\wor
举报原因:
原因补充:

(最多只允许输入30个字)