Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/spring/11.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

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/maven/6.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
Spring AJC在Eclipse中编译时抛出错误,未指定源_Spring_Maven_Aspectj_Spring Roo_Aspectj Maven Plugin - Fatal编程技术网

Spring AJC在Eclipse中编译时抛出错误,未指定源

Spring AJC在Eclipse中编译时抛出错误,未指定源,spring,maven,aspectj,spring-roo,aspectj-maven-plugin,Spring,Maven,Aspectj,Spring Roo,Aspectj Maven Plugin,我正试图用Maven Eclipse插件在Eclipse中编译一个Spring生成的Maven项目 Maven在编译过程中抛出以下错误: [ERROR] Failed to execute goal org.codehaus.mojo:aspectj-maven-plugin:1.8:test-compile (default) on project kkos01: AJC compiler errors: [ERROR] error no sources specified [ERROR] a

我正试图用Maven Eclipse插件在Eclipse中编译一个Spring生成的Maven项目

Maven在编译过程中抛出以下错误:

[ERROR] Failed to execute goal org.codehaus.mojo:aspectj-maven-plugin:1.8:test-compile (default) on project kkos01: AJC compiler errors:
[ERROR] error no sources specified
[ERROR] abort AspectJ Compiler 1.8.0
[ERROR] 
[ERROR] Usage: <options> <source file | @argfile>..
完整错误输出:

[INFO] Scanning for projects...
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building kkos01 0.1.0.BUILD-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- maven-eclipse-plugin:2.7:clean (default-cli) @ kkos01 ---
[INFO] Deleting file: .project
[INFO] Deleting file: .classpath
[INFO] Deleting file: .wtpmodules
[INFO] Deleting file: .component
[INFO] Deleting file: org.eclipse.wst.common.component
[INFO] Deleting file: org.eclipse.wst.common.project.facet.core.xml
[INFO] Deleting file: org.eclipse.jdt.core.prefs
[INFO] Deleting file: org.eclipse.ajdt.ui.prefs
[INFO] 
[INFO] >>> maven-eclipse-plugin:2.7:eclipse (default-cli) > generate-resources @ kkos01 >>>
[INFO] 
[INFO] --- aspectj-maven-plugin:1.8:compile (default) @ kkos01 ---
[INFO] Showing AJC message detail for messages of types: [error, warning, fail]
[WARNING] can't find type org.w3c.dom.ElementTraversal whilst determining signatures of call or execution join point for java.lang.String com.gargoylesoftware.htmlunit.html.HtmlElement.getAttribute(java.lang.String), this may cause a pointcut to fail to match at this join point 
when weaving type kk.os.scrape.ScreenCaptureHtmlUnitDriver
when weaving classes 
when weaving 
when batch building BuildConfig[null] #Files=1315 AopXmls=#0
 [Xlint:cantFindTypeAffectingJPMatch]
    C:\sync\workspace-kkos\kkos01\src\main\java\kk\os\scrape\ScreenCaptureHtmlUnitDriver.java:0
(no source information available)

[WARNING] advice defined in org.springframework.mock.staticmock.AnnotationDrivenStaticEntityMockingControl has not been applied [Xlint:adviceDidNotMatch]
    C:\sync\workspace-kkos\kkos01\org\springframework\mock\staticmock\AnnotationDrivenStaticEntityMockingControl.aj:117

[INFO] 
[INFO] --- aspectj-maven-plugin:1.8:test-compile (default) @ kkos01 ---
[INFO] Showing AJC message detail for messages of types: [error, warning, fail]
[ERROR] no sources specified
    <unknown source file>:<no line information>

[ERROR] AspectJ Compiler 1.8.0

    Usage: <options> <source file | @argfile>..

AspectJ-specific options:
    -inpath <list>      use classes in dirs and jars/zips in <list> as source
                        (<list> uses platform-specific path delimiter)
    -injars <jarList>   use classes in <jarList> zip files as source
                        (<jarList> uses classpath delimiter)
                        deprecated - use inpath instead.
    -aspectpath <list>  weave aspects in .class files from <list> dirs and jars/zip into sources
                        (<list> uses classpath delimiter)
    -outjar <file>      put output classes in zip file <file>
    -outxml             generate META-INF/aop.xml
    -outxmlfile <file>  specify alternate destination output of -outxml
    -argfile <file>     specify line-delimited list of source files
    -showWeaveInfo      display information about weaving
    -incremental        continuously-running compiler, needs -sourceroots
                        (reads stdin: enter to recompile and 'q' to quit)
    -sourceroots <dirs> compile all .aj and .java files in <dirs>
                        (<dirs> uses classpath delimiter)
    -crossrefs          generate .ajsym file into the output directory
    -emacssym           generate .ajesym symbol files for emacs support
    -Xlint              same as '-Xlint:warning'
    -Xlint:<level>      set default level for crosscutting messages
                        (<level> may be ignore, warning, or error)
    -Xlintfile <file>   specify properties file to set per-message levels
                        (cf org/aspectj/weaver/XlintDefault.properties)
    -X                  print help on non-standard options

Standard Eclipse compiler options:
 Options enabled by default are prefixed with '+'

 Classpath options:
    -cp -classpath <directories and zip/jar files separated by ;>
                       specify location for application classes and sources
    -bootclasspath <directories and zip/jar files separated by ;>
                       specify location for system classes
    -d <dir>           destination directory (if omitted, no directory is created)
    -d none            generate no .class files
    -encoding <enc>    specify custom encoding for all sources. Each file/directory can override it
                       when suffixed with '['<enc>']' (e.g. X.java[utf8])

 Compliance options:
    -1.3               use 1.3 compliance level (implicit -source 1.3 -target 1.1)
    -1.4             + use 1.4 compliance level
    -1.5 -5 -5.0       use 1.5 compliance (-source 1.5 -target 1.5)
    -1.6 -6 -6.0       use 1.6 compliance (-source 1.6 -target 1.6)
    -1.7 -7 -7.0       use 1.7 compliance (-source 1.7 -target 1.7)
    -1.8 -8 -8.0       use 1.8 compliance (-source 1.8 -target 1.8)
    -source <version>  set source level: 1.3 to 1.8 (or 5, 5.0, etc)
    -target <version>  set classfile target: 1.1 to 1.8 (or 5, 5.0, etc)

 Warning options:
    -deprecation         + deprecation outside deprecated code
    -nowarn -warn:none disable all warnings
    -warn:<warnings separated by ,>    enable exactly the listed warnings
    -warn:+<warnings separated by ,>   enable additional warnings
    -warn:-<warnings separated by ,>   disable specific warnings
      allDeadCode          dead code including trivial if(DEBUG) check
      allDeprecation       deprecation including inside deprecated code
      allJavadoc           invalid or missing javadoc
      allOver-ann          all missing @Override annotations
      all-static-method    all method can be declared as static warnings
      assertIdentifier   + 'assert' used as identifier
      boxing               autoboxing conversion
      charConcat         + char[] in String concat
      compareIdentical   + comparing identical expressions
      conditionAssign      possible accidental boolean assignment
      constructorName    + method with constructor name
      deadCode           + dead code excluding trivial if (DEBUG) check
      dep-ann              missing @Deprecated annotation
      deprecation        + deprecation outside deprecated code
      discouraged        + use of types matching a discouraged access rule
      emptyBlock           undocumented empty block
      enumIdentifier       'enum' used as identifier
      enumSwitch           incomplete enum switch
      fallthrough          possible fall-through case
      fieldHiding          field hiding another variable
      finalBound           type parameter with final bound
      finally            + finally block not completing normally
      forbidden          + use of types matching a forbidden access rule
      hashCode              missing hashCode() method when overriding equals()
      hiding               macro for fieldHiding, localHiding, typeHiding and
                           maskedCatchBlock
      includeAssertNull    raise null warnings for variables
                           that got tainted in an assert expression
      indirectStatic       indirect reference to static member
      intfAnnotation     + annotation type used as super interface
      intfNonInherited   + interface non-inherited method compatibility
      intfRedundant        find redundant superinterfaces
      javadoc              invalid javadoc
      localHiding          local variable hiding another variable
      maskedCatchBlock   + hidden catch block
      nls                  string literal lacking non-nls tag //$NON-NLS-<n>$
      noEffectAssign     + assignment without effect
      null                 potential missing or redundant null check
      nullDereference    + missing null check
      over-ann             missing @Override annotation (superclass)
      paramAssign          assignment to a parameter
      pkgDefaultMethod   + attempt to override package-default method
      raw                + usage of raw type
      semicolon            unnecessary semicolon, empty statement
      serial             + missing serialVersionUID
      specialParamHiding   constructor or setter parameter hiding a field
      static-method        method can be declared as static
      static-access        macro for indirectStatic and staticReceiver
      staticReceiver     + non-static reference to static member
      super                overriding a method without making a super invocation
      suppress           + enable @SuppressWarnings
                           When used with -err:, it can also silent optional
                           errors and warnings
      syncOverride         missing synchronized in synchr. method override
      syntheticAccess      synthetic access for innerclass
      tasks(<tags separated by |>) tasks identified by tags inside comments
      typeHiding         + type parameter hiding another type
      unavoidableGenericProblems + ignore unavoidable type safety problems
                                   due to raw APIs
      unchecked          + unchecked type operation
      unnecessaryElse      unnecessary else clause
      unqualifiedField     unqualified reference to field
      unused               macro for unusedAllocation, unusedArgument,
                               unusedImport, unusedLabel, unusedLocal,
                               unusedPrivate, unusedThrown, and unusedTypeArgs
      unusedAllocation     allocating an object that is not used
      unusedArgument       unread method parameter
      unusedImport       + unused import declaration
      unusedLabel        + unused label
      unusedLocal        + unread local variable
      unusedPrivate      + unused private member declaration
      unusedThrown         unused declared thrown exception
      unusedTypeArgs     + unused type arguments for method and constructor
      uselessTypeCheck     unnecessary cast/instanceof operation
      varargsCast        + varargs argument need explicit cast
      warningToken       + unsupported or unnecessary @SuppressWarnings

[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 26.469 s
[INFO] Finished at: 2016-08-17T19:03:39+02:00
[INFO] Final Memory: 40M/1833M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.codehaus.mojo:aspectj-maven-plugin:1.8:test-compile (default) on project kkos01: AJC compiler errors:
[ERROR] error no sources specified
[ERROR] abort AspectJ Compiler 1.8.0
[ERROR] 
[ERROR] Usage: <options> <source file | @argfile>..
[ERROR] 
[ERROR] AspectJ-specific options:
[ERROR] -inpath <list>      use classes in dirs and jars/zips in <list> as source
[ERROR] (<list> uses platform-specific path delimiter)
[ERROR] -injars <jarList>   use classes in <jarList> zip files as source
[ERROR] (<jarList> uses classpath delimiter)
[ERROR] deprecated - use inpath instead.
[ERROR] -aspectpath <list>  weave aspects in .class files from <list> dirs and jars/zip into sources
[ERROR] (<list> uses classpath delimiter)
[ERROR] -outjar <file>      put output classes in zip file <file>
[ERROR] -outxml             generate META-INF/aop.xml
[ERROR] -outxmlfile <file>  specify alternate destination output of -outxml
[ERROR] -argfile <file>     specify line-delimited list of source files
[ERROR] -showWeaveInfo      display information about weaving
[ERROR] -incremental        continuously-running compiler, needs -sourceroots
[ERROR] (reads stdin: enter to recompile and 'q' to quit)
[ERROR] -sourceroots <dirs> compile all .aj and .java files in <dirs>
[ERROR] (<dirs> uses classpath delimiter)
[ERROR] -crossrefs          generate .ajsym file into the output directory
[ERROR] -emacssym           generate .ajesym symbol files for emacs support
[ERROR] -Xlint              same as '-Xlint:warning'
[ERROR] -Xlint:<level>      set default level for crosscutting messages
[ERROR] (<level> may be ignore, warning, or error)
[ERROR] -Xlintfile <file>   specify properties file to set per-message levels
[ERROR] (cf org/aspectj/weaver/XlintDefault.properties)
[ERROR] -X                  print help on non-standard options
[ERROR] 
[ERROR] Standard Eclipse compiler options:
[ERROR] Options enabled by default are prefixed with '+'
[ERROR] 
[ERROR] Classpath options:
[ERROR] -cp -classpath <directories and zip/jar files separated by ;>
[ERROR] specify location for application classes and sources
[ERROR] -bootclasspath <directories and zip/jar files separated by ;>
[ERROR] specify location for system classes
[ERROR] -d <dir>           destination directory (if omitted, no directory is created)
[ERROR] -d none            generate no .class files
[ERROR] -encoding <enc>    specify custom encoding for all sources. Each file/directory can override it
[ERROR] when suffixed with '['<enc>']' (e.g. X.java[utf8])
[ERROR] 
[ERROR] Compliance options:
[ERROR] -1.3               use 1.3 compliance level (implicit -source 1.3 -target 1.1)
[ERROR] -1.4             + use 1.4 compliance level
[ERROR] -1.5 -5 -5.0       use 1.5 compliance (-source 1.5 -target 1.5)
[ERROR] -1.6 -6 -6.0       use 1.6 compliance (-source 1.6 -target 1.6)
[ERROR] -1.7 -7 -7.0       use 1.7 compliance (-source 1.7 -target 1.7)
[ERROR] -1.8 -8 -8.0       use 1.8 compliance (-source 1.8 -target 1.8)
[ERROR] -source <version>  set source level: 1.3 to 1.8 (or 5, 5.0, etc)
[ERROR] -target <version>  set classfile target: 1.1 to 1.8 (or 5, 5.0, etc)
[ERROR] 
[ERROR] Warning options:
[ERROR] -deprecation         + deprecation outside deprecated code
[ERROR] -nowarn -warn:none disable all warnings
[ERROR] -warn:<warnings separated by ,>    enable exactly the listed warnings
[ERROR] -warn:+<warnings separated by ,>   enable additional warnings
[ERROR] -warn:-<warnings separated by ,>   disable specific warnings
[ERROR] allDeadCode          dead code including trivial if(DEBUG) check
[ERROR] allDeprecation       deprecation including inside deprecated code
[ERROR] allJavadoc           invalid or missing javadoc
[ERROR] allOver-ann          all missing @Override annotations
[ERROR] all-static-method    all method can be declared as static warnings
[ERROR] assertIdentifier   + 'assert' used as identifier
[ERROR] boxing               autoboxing conversion
[ERROR] charConcat         + char[] in String concat
[ERROR] compareIdentical   + comparing identical expressions
[ERROR] conditionAssign      possible accidental boolean assignment
[ERROR] constructorName    + method with constructor name
[ERROR] deadCode           + dead code excluding trivial if (DEBUG) check
[ERROR] dep-ann              missing @Deprecated annotation
[ERROR] deprecation        + deprecation outside deprecated code
[ERROR] discouraged        + use of types matching a discouraged access rule
[ERROR] emptyBlock           undocumented empty block
[ERROR] enumIdentifier       'enum' used as identifier
[ERROR] enumSwitch           incomplete enum switch
[ERROR] fallthrough          possible fall-through case
[ERROR] fieldHiding          field hiding another variable
[ERROR] finalBound           type parameter with final bound
[ERROR] finally            + finally block not completing normally
[ERROR] forbidden          + use of types matching a forbidden access rule
[ERROR] hashCode              missing hashCode() method when overriding equals()
[ERROR] hiding               macro for fieldHiding, localHiding, typeHiding and
[ERROR] maskedCatchBlock
[ERROR] includeAssertNull    raise null warnings for variables
[ERROR] that got tainted in an assert expression
[ERROR] indirectStatic       indirect reference to static member
[ERROR] intfAnnotation     + annotation type used as super interface
[ERROR] intfNonInherited   + interface non-inherited method compatibility
[ERROR] intfRedundant        find redundant superinterfaces
[ERROR] javadoc              invalid javadoc
[ERROR] localHiding          local variable hiding another variable
[ERROR] maskedCatchBlock   + hidden catch block
[ERROR] nls                  string literal lacking non-nls tag //$NON-NLS-<n>$
[ERROR] noEffectAssign     + assignment without effect
[ERROR] null                 potential missing or redundant null check
[ERROR] nullDereference    + missing null check
[ERROR] over-ann             missing @Override annotation (superclass)
[ERROR] paramAssign          assignment to a parameter
[ERROR] pkgDefaultMethod   + attempt to override package-default method
[ERROR] raw                + usage of raw type
[ERROR] semicolon            unnecessary semicolon, empty statement
[ERROR] serial             + missing serialVersionUID
[ERROR] specialParamHiding   constructor or setter parameter hiding a field
[ERROR] static-method        method can be declared as static
[ERROR] static-access        macro for indirectStatic and staticReceiver
[ERROR] staticReceiver     + non-static reference to static member
[ERROR] super                overriding a method without making a super invocation
[ERROR] suppress           + enable @SuppressWarnings
[ERROR] When used with -err:, it can also silent optional
[ERROR] errors and warnings
[ERROR] syncOverride         missing synchronized in synchr. method override
[ERROR] syntheticAccess      synthetic access for innerclass
[ERROR] tasks(<tags separated by |>) tasks identified by tags inside comments
[ERROR] typeHiding         + type parameter hiding another type
[ERROR] unavoidableGenericProblems + ignore unavoidable type safety problems
[ERROR] due to raw APIs
[ERROR] unchecked          + unchecked type operation
[ERROR] unnecessaryElse      unnecessary else clause
[ERROR] unqualifiedField     unqualified reference to field
[ERROR] unused               macro for unusedAllocation, unusedArgument,
[ERROR] unusedImport, unusedLabel, unusedLocal,
[ERROR] unusedPrivate, unusedThrown, and unusedTypeArgs
[ERROR] unusedAllocation     allocating an object that is not used
[ERROR] unusedArgument       unread method parameter
[ERROR] unusedImport       + unused import declaration
[ERROR] unusedLabel        + unused label
[ERROR] unusedLocal        + unread local variable
[ERROR] unusedPrivate      + unused private member declaration
[ERROR] unusedThrown         unused declared thrown exception
[ERROR] unusedTypeArgs     + unused type arguments for method and constructor
[ERROR] uselessTypeCheck     unnecessary cast/instanceof operation
[ERROR] varargsCast        + varargs argument need explicit cast
[ERROR] warningToken       + unsupported or unnecessary @SuppressWarnings
[ERROR] -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[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
[INFO]正在扫描项目。。。
[信息]
[信息]------------------------------------------------------------------------
[信息]构建kkos01 0.1.0.BUILD-SNAPSHOT
[信息]------------------------------------------------------------------------
[信息]
[信息]---maven eclipse插件:2.7:clean(默认cli)@kkos01---
[信息]正在删除文件:。项目
[信息]正在删除文件:。类路径
[信息]正在删除文件:.wtpmodules
[信息]正在删除文件:。组件
[信息]删除文件:org.eclipse.wst.common.component
[信息]删除文件:org.eclipse.wst.common.project.facet.core.xml
[信息]删除文件:org.eclipse.jdt.core.prefs
[信息]删除文件:org.eclipse.ajdt.ui.prefs
[信息]
[信息]>>>maven eclipse插件:2.7:eclipse(默认cli)>生成资源@kkos01>>>
[信息]
[信息]——aspectj maven插件:1.8:compile(默认)@kkos01---
[信息]显示以下类型消息的AJC消息详细信息:[错误、警告、失败]
[警告]在确定java.lang.String com.gargoylesoftware.htmlunit.html.HtmlElement.getAttribute(java.lang.String)的调用或执行连接点的签名时,找不到类型org.w3c.dom.ElementTraversal,这可能会导致切入点在此连接点无法匹配
编织时,键入kk.os.scrape.ScreenCaptureTmlUnitDriver
编课时
编织时
批量生成BuildConfig[null]#Files=1315 AopXmls=#0时
[Xlint:cantFindTypeAffectingJPMatch]
C:\sync\workspace kkos\kkos01\src\main\java\kk\os\scrape\scrapturehtmlunitdriver.java:0
(无来源信息)
[警告]未应用org.springframework.mock.staticmock.AnnotationDrivenStaticEntityMockingControl中定义的通知[Xlint:advicedNotMatch]
C:\sync\workspace kkos\kkos01\org\springframework\mock\staticmock\AnnotationDrivenStaticEntityMockingControl.aj:117
[信息]
[信息]——aspectj maven插件:1.8:测试编译(默认)@kkos01---
[信息]显示以下类型消息的AJC消息详细信息:[错误、警告、失败]
[错误]未指定源
:
[错误]AspectJ编译器1.8.0
用法:。。
AspectJ特定选项:
-inpath使用dirs中的类和jars/zip作为源
(使用平台特定的路径分隔符)
-injar使用zip文件中的类作为源
(使用类路径分隔符)
已弃用-请改用inpath。
-aspectpath将.class文件中的方面从dirs和jars/zip编织到源代码中
(使用类路径分隔符)
-outjar将输出类放在zip文件中
-outxml生成META-INF/aop.xml
-outxmlfile指定-outxml的备用目标输出
-argfile指定源文件的行分隔列表
-showWeaveInfo显示有关编织的信息
-增量连续运行编译器,需要-sourceroots
(读取stdin:enter重新编译,'q'退出)
-sourceroots在中编译所有.aj和.java文件
(使用类路径分隔符)
-crossrefs将.ajsym文件生成到输出目录中
-emacssym生成.ajesym符号文件以支持emacs
-Xlint与“-Xlint:警告”相同
-Xlint:设置横切消息的默认级别
(可能是忽略、警告或错误)
-Xlintfile指定要按消息级别设置的属性文件
(cf org/aspectj/weaver/XlintDefault.properties)
-关于非标准选项的X打印帮助
标准Eclipse编译器选项:
默认情况下启用的选项前缀为“+”
类路径选项:
-类路径
指定应用程序类和源的位置
-引导类路径
指定系统类的位置
-d目标目录(如果省略,则不创建目录)
-d无生成任何.class文件
-编码指定所有源的自定义编码。每个文件/目录都可以覆盖它
当后缀为“[”]”时(例如X.java[utf8])
合规选项:
-1.3使用1.3合规级别(隐式-源1.3-目标1.1)
-1.4+使用1.4合规级别
-1.5-5-5.0使用1.5合规性(-来源1.5-目标1.5)
-1.6-6-6.0使用1.6法规遵从性(-来源1.6-目标1.6)
-1.7-7-7.0使用1.7法规遵从性(-源1.7-目标1.7)
-1.8-8-8.0使用1.8法规遵从性(-来源1.8-目标1.8)
-源设置源级别:1.3至1.8(或5、5.0等)
-目标集类文件目标:1.1到1.8(或5、5.0等)
警告选项:
-弃用+弃用代码之外的弃用
-nowarn-警告:无禁用所有警告
-警告:完全启用列出的警告
-警告:+启用其他警告
-警告:-禁用特定警告
allDeadCode死代码,包括琐碎的if(调试)检查
所有弃用弃用,包括内部弃用代码
allJavadoc无效或缺少javadoc
满版ann所有缺少@Override注释
所有静态方法所有方法都可以声明为静态警告
assertIdentifier+“assert”用作标识符
装箱自动装箱转换
字符串concat中的charConcat+char[]
CompareDetical+比较相同的表达式
conditionAssign可能的意外布尔赋值
构造函数名为constructorName+的方法
死代码+死代码,不包括琐碎的if(调试)chec
[INFO] Scanning for projects...
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building kkos01 0.1.0.BUILD-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- maven-eclipse-plugin:2.7:clean (default-cli) @ kkos01 ---
[INFO] Deleting file: .project
[INFO] Deleting file: .classpath
[INFO] Deleting file: .wtpmodules
[INFO] Deleting file: .component
[INFO] Deleting file: org.eclipse.wst.common.component
[INFO] Deleting file: org.eclipse.wst.common.project.facet.core.xml
[INFO] Deleting file: org.eclipse.jdt.core.prefs
[INFO] Deleting file: org.eclipse.ajdt.ui.prefs
[INFO] 
[INFO] >>> maven-eclipse-plugin:2.7:eclipse (default-cli) > generate-resources @ kkos01 >>>
[INFO] 
[INFO] --- aspectj-maven-plugin:1.8:compile (default) @ kkos01 ---
[INFO] Showing AJC message detail for messages of types: [error, warning, fail]
[WARNING] can't find type org.w3c.dom.ElementTraversal whilst determining signatures of call or execution join point for java.lang.String com.gargoylesoftware.htmlunit.html.HtmlElement.getAttribute(java.lang.String), this may cause a pointcut to fail to match at this join point 
when weaving type kk.os.scrape.ScreenCaptureHtmlUnitDriver
when weaving classes 
when weaving 
when batch building BuildConfig[null] #Files=1315 AopXmls=#0
 [Xlint:cantFindTypeAffectingJPMatch]
    C:\sync\workspace-kkos\kkos01\src\main\java\kk\os\scrape\ScreenCaptureHtmlUnitDriver.java:0
(no source information available)

[WARNING] advice defined in org.springframework.mock.staticmock.AnnotationDrivenStaticEntityMockingControl has not been applied [Xlint:adviceDidNotMatch]
    C:\sync\workspace-kkos\kkos01\org\springframework\mock\staticmock\AnnotationDrivenStaticEntityMockingControl.aj:117

[INFO] 
[INFO] --- aspectj-maven-plugin:1.8:test-compile (default) @ kkos01 ---
[INFO] Showing AJC message detail for messages of types: [error, warning, fail]
[ERROR] no sources specified
    <unknown source file>:<no line information>

[ERROR] AspectJ Compiler 1.8.0

    Usage: <options> <source file | @argfile>..

AspectJ-specific options:
    -inpath <list>      use classes in dirs and jars/zips in <list> as source
                        (<list> uses platform-specific path delimiter)
    -injars <jarList>   use classes in <jarList> zip files as source
                        (<jarList> uses classpath delimiter)
                        deprecated - use inpath instead.
    -aspectpath <list>  weave aspects in .class files from <list> dirs and jars/zip into sources
                        (<list> uses classpath delimiter)
    -outjar <file>      put output classes in zip file <file>
    -outxml             generate META-INF/aop.xml
    -outxmlfile <file>  specify alternate destination output of -outxml
    -argfile <file>     specify line-delimited list of source files
    -showWeaveInfo      display information about weaving
    -incremental        continuously-running compiler, needs -sourceroots
                        (reads stdin: enter to recompile and 'q' to quit)
    -sourceroots <dirs> compile all .aj and .java files in <dirs>
                        (<dirs> uses classpath delimiter)
    -crossrefs          generate .ajsym file into the output directory
    -emacssym           generate .ajesym symbol files for emacs support
    -Xlint              same as '-Xlint:warning'
    -Xlint:<level>      set default level for crosscutting messages
                        (<level> may be ignore, warning, or error)
    -Xlintfile <file>   specify properties file to set per-message levels
                        (cf org/aspectj/weaver/XlintDefault.properties)
    -X                  print help on non-standard options

Standard Eclipse compiler options:
 Options enabled by default are prefixed with '+'

 Classpath options:
    -cp -classpath <directories and zip/jar files separated by ;>
                       specify location for application classes and sources
    -bootclasspath <directories and zip/jar files separated by ;>
                       specify location for system classes
    -d <dir>           destination directory (if omitted, no directory is created)
    -d none            generate no .class files
    -encoding <enc>    specify custom encoding for all sources. Each file/directory can override it
                       when suffixed with '['<enc>']' (e.g. X.java[utf8])

 Compliance options:
    -1.3               use 1.3 compliance level (implicit -source 1.3 -target 1.1)
    -1.4             + use 1.4 compliance level
    -1.5 -5 -5.0       use 1.5 compliance (-source 1.5 -target 1.5)
    -1.6 -6 -6.0       use 1.6 compliance (-source 1.6 -target 1.6)
    -1.7 -7 -7.0       use 1.7 compliance (-source 1.7 -target 1.7)
    -1.8 -8 -8.0       use 1.8 compliance (-source 1.8 -target 1.8)
    -source <version>  set source level: 1.3 to 1.8 (or 5, 5.0, etc)
    -target <version>  set classfile target: 1.1 to 1.8 (or 5, 5.0, etc)

 Warning options:
    -deprecation         + deprecation outside deprecated code
    -nowarn -warn:none disable all warnings
    -warn:<warnings separated by ,>    enable exactly the listed warnings
    -warn:+<warnings separated by ,>   enable additional warnings
    -warn:-<warnings separated by ,>   disable specific warnings
      allDeadCode          dead code including trivial if(DEBUG) check
      allDeprecation       deprecation including inside deprecated code
      allJavadoc           invalid or missing javadoc
      allOver-ann          all missing @Override annotations
      all-static-method    all method can be declared as static warnings
      assertIdentifier   + 'assert' used as identifier
      boxing               autoboxing conversion
      charConcat         + char[] in String concat
      compareIdentical   + comparing identical expressions
      conditionAssign      possible accidental boolean assignment
      constructorName    + method with constructor name
      deadCode           + dead code excluding trivial if (DEBUG) check
      dep-ann              missing @Deprecated annotation
      deprecation        + deprecation outside deprecated code
      discouraged        + use of types matching a discouraged access rule
      emptyBlock           undocumented empty block
      enumIdentifier       'enum' used as identifier
      enumSwitch           incomplete enum switch
      fallthrough          possible fall-through case
      fieldHiding          field hiding another variable
      finalBound           type parameter with final bound
      finally            + finally block not completing normally
      forbidden          + use of types matching a forbidden access rule
      hashCode              missing hashCode() method when overriding equals()
      hiding               macro for fieldHiding, localHiding, typeHiding and
                           maskedCatchBlock
      includeAssertNull    raise null warnings for variables
                           that got tainted in an assert expression
      indirectStatic       indirect reference to static member
      intfAnnotation     + annotation type used as super interface
      intfNonInherited   + interface non-inherited method compatibility
      intfRedundant        find redundant superinterfaces
      javadoc              invalid javadoc
      localHiding          local variable hiding another variable
      maskedCatchBlock   + hidden catch block
      nls                  string literal lacking non-nls tag //$NON-NLS-<n>$
      noEffectAssign     + assignment without effect
      null                 potential missing or redundant null check
      nullDereference    + missing null check
      over-ann             missing @Override annotation (superclass)
      paramAssign          assignment to a parameter
      pkgDefaultMethod   + attempt to override package-default method
      raw                + usage of raw type
      semicolon            unnecessary semicolon, empty statement
      serial             + missing serialVersionUID
      specialParamHiding   constructor or setter parameter hiding a field
      static-method        method can be declared as static
      static-access        macro for indirectStatic and staticReceiver
      staticReceiver     + non-static reference to static member
      super                overriding a method without making a super invocation
      suppress           + enable @SuppressWarnings
                           When used with -err:, it can also silent optional
                           errors and warnings
      syncOverride         missing synchronized in synchr. method override
      syntheticAccess      synthetic access for innerclass
      tasks(<tags separated by |>) tasks identified by tags inside comments
      typeHiding         + type parameter hiding another type
      unavoidableGenericProblems + ignore unavoidable type safety problems
                                   due to raw APIs
      unchecked          + unchecked type operation
      unnecessaryElse      unnecessary else clause
      unqualifiedField     unqualified reference to field
      unused               macro for unusedAllocation, unusedArgument,
                               unusedImport, unusedLabel, unusedLocal,
                               unusedPrivate, unusedThrown, and unusedTypeArgs
      unusedAllocation     allocating an object that is not used
      unusedArgument       unread method parameter
      unusedImport       + unused import declaration
      unusedLabel        + unused label
      unusedLocal        + unread local variable
      unusedPrivate      + unused private member declaration
      unusedThrown         unused declared thrown exception
      unusedTypeArgs     + unused type arguments for method and constructor
      uselessTypeCheck     unnecessary cast/instanceof operation
      varargsCast        + varargs argument need explicit cast
      warningToken       + unsupported or unnecessary @SuppressWarnings

[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 26.469 s
[INFO] Finished at: 2016-08-17T19:03:39+02:00
[INFO] Final Memory: 40M/1833M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.codehaus.mojo:aspectj-maven-plugin:1.8:test-compile (default) on project kkos01: AJC compiler errors:
[ERROR] error no sources specified
[ERROR] abort AspectJ Compiler 1.8.0
[ERROR] 
[ERROR] Usage: <options> <source file | @argfile>..
[ERROR] 
[ERROR] AspectJ-specific options:
[ERROR] -inpath <list>      use classes in dirs and jars/zips in <list> as source
[ERROR] (<list> uses platform-specific path delimiter)
[ERROR] -injars <jarList>   use classes in <jarList> zip files as source
[ERROR] (<jarList> uses classpath delimiter)
[ERROR] deprecated - use inpath instead.
[ERROR] -aspectpath <list>  weave aspects in .class files from <list> dirs and jars/zip into sources
[ERROR] (<list> uses classpath delimiter)
[ERROR] -outjar <file>      put output classes in zip file <file>
[ERROR] -outxml             generate META-INF/aop.xml
[ERROR] -outxmlfile <file>  specify alternate destination output of -outxml
[ERROR] -argfile <file>     specify line-delimited list of source files
[ERROR] -showWeaveInfo      display information about weaving
[ERROR] -incremental        continuously-running compiler, needs -sourceroots
[ERROR] (reads stdin: enter to recompile and 'q' to quit)
[ERROR] -sourceroots <dirs> compile all .aj and .java files in <dirs>
[ERROR] (<dirs> uses classpath delimiter)
[ERROR] -crossrefs          generate .ajsym file into the output directory
[ERROR] -emacssym           generate .ajesym symbol files for emacs support
[ERROR] -Xlint              same as '-Xlint:warning'
[ERROR] -Xlint:<level>      set default level for crosscutting messages
[ERROR] (<level> may be ignore, warning, or error)
[ERROR] -Xlintfile <file>   specify properties file to set per-message levels
[ERROR] (cf org/aspectj/weaver/XlintDefault.properties)
[ERROR] -X                  print help on non-standard options
[ERROR] 
[ERROR] Standard Eclipse compiler options:
[ERROR] Options enabled by default are prefixed with '+'
[ERROR] 
[ERROR] Classpath options:
[ERROR] -cp -classpath <directories and zip/jar files separated by ;>
[ERROR] specify location for application classes and sources
[ERROR] -bootclasspath <directories and zip/jar files separated by ;>
[ERROR] specify location for system classes
[ERROR] -d <dir>           destination directory (if omitted, no directory is created)
[ERROR] -d none            generate no .class files
[ERROR] -encoding <enc>    specify custom encoding for all sources. Each file/directory can override it
[ERROR] when suffixed with '['<enc>']' (e.g. X.java[utf8])
[ERROR] 
[ERROR] Compliance options:
[ERROR] -1.3               use 1.3 compliance level (implicit -source 1.3 -target 1.1)
[ERROR] -1.4             + use 1.4 compliance level
[ERROR] -1.5 -5 -5.0       use 1.5 compliance (-source 1.5 -target 1.5)
[ERROR] -1.6 -6 -6.0       use 1.6 compliance (-source 1.6 -target 1.6)
[ERROR] -1.7 -7 -7.0       use 1.7 compliance (-source 1.7 -target 1.7)
[ERROR] -1.8 -8 -8.0       use 1.8 compliance (-source 1.8 -target 1.8)
[ERROR] -source <version>  set source level: 1.3 to 1.8 (or 5, 5.0, etc)
[ERROR] -target <version>  set classfile target: 1.1 to 1.8 (or 5, 5.0, etc)
[ERROR] 
[ERROR] Warning options:
[ERROR] -deprecation         + deprecation outside deprecated code
[ERROR] -nowarn -warn:none disable all warnings
[ERROR] -warn:<warnings separated by ,>    enable exactly the listed warnings
[ERROR] -warn:+<warnings separated by ,>   enable additional warnings
[ERROR] -warn:-<warnings separated by ,>   disable specific warnings
[ERROR] allDeadCode          dead code including trivial if(DEBUG) check
[ERROR] allDeprecation       deprecation including inside deprecated code
[ERROR] allJavadoc           invalid or missing javadoc
[ERROR] allOver-ann          all missing @Override annotations
[ERROR] all-static-method    all method can be declared as static warnings
[ERROR] assertIdentifier   + 'assert' used as identifier
[ERROR] boxing               autoboxing conversion
[ERROR] charConcat         + char[] in String concat
[ERROR] compareIdentical   + comparing identical expressions
[ERROR] conditionAssign      possible accidental boolean assignment
[ERROR] constructorName    + method with constructor name
[ERROR] deadCode           + dead code excluding trivial if (DEBUG) check
[ERROR] dep-ann              missing @Deprecated annotation
[ERROR] deprecation        + deprecation outside deprecated code
[ERROR] discouraged        + use of types matching a discouraged access rule
[ERROR] emptyBlock           undocumented empty block
[ERROR] enumIdentifier       'enum' used as identifier
[ERROR] enumSwitch           incomplete enum switch
[ERROR] fallthrough          possible fall-through case
[ERROR] fieldHiding          field hiding another variable
[ERROR] finalBound           type parameter with final bound
[ERROR] finally            + finally block not completing normally
[ERROR] forbidden          + use of types matching a forbidden access rule
[ERROR] hashCode              missing hashCode() method when overriding equals()
[ERROR] hiding               macro for fieldHiding, localHiding, typeHiding and
[ERROR] maskedCatchBlock
[ERROR] includeAssertNull    raise null warnings for variables
[ERROR] that got tainted in an assert expression
[ERROR] indirectStatic       indirect reference to static member
[ERROR] intfAnnotation     + annotation type used as super interface
[ERROR] intfNonInherited   + interface non-inherited method compatibility
[ERROR] intfRedundant        find redundant superinterfaces
[ERROR] javadoc              invalid javadoc
[ERROR] localHiding          local variable hiding another variable
[ERROR] maskedCatchBlock   + hidden catch block
[ERROR] nls                  string literal lacking non-nls tag //$NON-NLS-<n>$
[ERROR] noEffectAssign     + assignment without effect
[ERROR] null                 potential missing or redundant null check
[ERROR] nullDereference    + missing null check
[ERROR] over-ann             missing @Override annotation (superclass)
[ERROR] paramAssign          assignment to a parameter
[ERROR] pkgDefaultMethod   + attempt to override package-default method
[ERROR] raw                + usage of raw type
[ERROR] semicolon            unnecessary semicolon, empty statement
[ERROR] serial             + missing serialVersionUID
[ERROR] specialParamHiding   constructor or setter parameter hiding a field
[ERROR] static-method        method can be declared as static
[ERROR] static-access        macro for indirectStatic and staticReceiver
[ERROR] staticReceiver     + non-static reference to static member
[ERROR] super                overriding a method without making a super invocation
[ERROR] suppress           + enable @SuppressWarnings
[ERROR] When used with -err:, it can also silent optional
[ERROR] errors and warnings
[ERROR] syncOverride         missing synchronized in synchr. method override
[ERROR] syntheticAccess      synthetic access for innerclass
[ERROR] tasks(<tags separated by |>) tasks identified by tags inside comments
[ERROR] typeHiding         + type parameter hiding another type
[ERROR] unavoidableGenericProblems + ignore unavoidable type safety problems
[ERROR] due to raw APIs
[ERROR] unchecked          + unchecked type operation
[ERROR] unnecessaryElse      unnecessary else clause
[ERROR] unqualifiedField     unqualified reference to field
[ERROR] unused               macro for unusedAllocation, unusedArgument,
[ERROR] unusedImport, unusedLabel, unusedLocal,
[ERROR] unusedPrivate, unusedThrown, and unusedTypeArgs
[ERROR] unusedAllocation     allocating an object that is not used
[ERROR] unusedArgument       unread method parameter
[ERROR] unusedImport       + unused import declaration
[ERROR] unusedLabel        + unused label
[ERROR] unusedLocal        + unread local variable
[ERROR] unusedPrivate      + unused private member declaration
[ERROR] unusedThrown         unused declared thrown exception
[ERROR] unusedTypeArgs     + unused type arguments for method and constructor
[ERROR] uselessTypeCheck     unnecessary cast/instanceof operation
[ERROR] varargsCast        + varargs argument need explicit cast
[ERROR] warningToken       + unsupported or unnecessary @SuppressWarnings
[ERROR] -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[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