[ERROR] Failed to execute goal com.baidu:jprotobuf-precompile-plugin:2.2.9:precompile (default) on project testModule: An exception occured while executing the Java class. null: InvocationTargetException: Scan entry error: Entry
Data{learning.se.TestSe'}; <--- java.lang.IllegalStateException: Compilation failed. class: learning.se.TestSe$$JProtoBufClass, diagnostics: [错误: 服务配置文件不正确, 或构造处理程序对象javax.annotation.processing.Processor: Pro
vider com.eastnoney.emtserialize.processor.SerializeProcessor could not be instantiated: java.lang.NoClassDefFoundError: com/sun/tools/javac/tree/JCTree$JCExpression时抛出异常错误] -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal com.baidu:jprotobuf-precompile-plugin:2.2.9:precompile (default) on project testModule: An exception occured while executing the Java class. null
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:215)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:156)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:148)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)
at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56)
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)
at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305)
at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
at org.apache.maven.cli.MavenCli.execute (MavenCli.java:957)
at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:289)
at org.apache.maven.cli.MavenCli.main (MavenCli.java:193)
at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke (Method.java:498)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406)
at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347)
Caused by: org.apache.maven.plugin.MojoExecutionException: An exception occured while executing the Java class. null
at com.baidu.jprotobuf.mojo.PreCompileMojo.execute (PreCompileMojo.java:380)
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:137)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:210)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:156)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:148)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)
at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56)
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)
at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305)
at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
at org.apache.maven.cli.MavenCli.execute (MavenCli.java:957)
at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:289)
at org.apache.maven.cli.MavenCli.main (MavenCli.java:193)
at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke (Method.java:498)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406)
at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347)
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke (Method.java:498)
at com.baidu.jprotobuf.mojo.PreCompileMojo$1.run (PreCompileMojo.java:326)
at java.lang.Thread.run (Thread.java:748)
Caused by: jodd.io.findfile.FindFileException: Scan entry error: EntryData{learning.se.TestSe'}; <--- java.lang.IllegalStateException: Compilation failed. class: learning.se.TestSe$$JProtoBufClass, diagnostics: [错误: 服务配置文
件不正确, 或构造处理程序对象javax.annotation.processing.Processor: Provider com.eastnoney.emtserialize.processor.SerializeProcessor could not be instantiated: java.lang.NoClassDefFoundError: com/sun/tools/javac/tree/JCTree$JCExp
ression时抛出异常错误]
at jodd.io.findfile.ClassFinder.scanEntry (ClassFinder.java:377)
at jodd.io.findfile.ClassFinder.scanClassFile (ClassFinder.java:324)
at jodd.io.findfile.ClassFinder.scanClassPath (ClassFinder.java:307)
at jodd.io.findfile.ClassFinder.scanPath (ClassFinder.java:239)
at jodd.io.findfile.ClassFinder.scanPaths (ClassFinder.java:178)
at jodd.io.findfile.ClassScanner.scan (ClassScanner.java:35)
at jodd.io.findfile.ClassScanner.scanDefaultClasspath (ClassScanner.java:28)
at com.baidu.jprotobuf.mojo.JprotobufPreCompileMain.main (JprotobufPreCompileMain.java:182)
at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke (Method.java:498)
at com.baidu.jprotobuf.mojo.PreCompileMojo$1.run (PreCompileMojo.java:326)
at java.lang.Thread.run (Thread.java:748)
Caused by: java.lang.Exception: Compilation failed. class: learning.se.TestSe$$JProtoBufClass, diagnostics: [错误: 服务配置文件不正确, 或构造处理程序对象javax.annotation.processing.Processor: Provider com.eastnoney.emtserialize.
processor.SerializeProcessor could not be instantiated: java.lang.NoClassDefFoundError: com/sun/tools/javac/tree/JCTree$JCExpression时抛出异常错误]
at com.baidu.jprotobuf.mojo.JprotobufPreCompileMain$1.onEntry (JprotobufPreCompileMain.java:144)
at jodd.io.findfile.ClassFinder.scanEntry (ClassFinder.java:375)
at jodd.io.findfile.ClassFinder.scanClassFile (ClassFinder.java:324)
at jodd.io.findfile.ClassFinder.scanClassPath (ClassFinder.java:307)
at jodd.io.findfile.ClassFinder.scanPath (ClassFinder.java:239)
at jodd.io.findfile.ClassFinder.scanPaths (ClassFinder.java:178)
at jodd.io.findfile.ClassScanner.scan (ClassScanner.java:35)
at jodd.io.findfile.ClassScanner.scanDefaultClasspath (ClassScanner.java:28)
at com.baidu.jprotobuf.mojo.JprotobufPreCompileMain.main (JprotobufPreCompileMain.java:182)
at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke (Method.java:498)
at com.baidu.jprotobuf.mojo.PreCompileMojo$1.run (PreCompileMojo.java:326)
at java.lang.Thread.run (Thread.java:748)
Caused by: java.lang.IllegalStateException: Compilation failed. class: learning.se.TestSe$$JProtoBufClass, diagnostics: [错误: 服务配置文件不正确, 或构造处理程序对象javax.annotation.processing.Processor: Provider com.eastnoney.e
mtserialize.processor.SerializeProcessor could not be instantiated: java.lang.NoClassDefFoundError: com/sun/tools/javac/tree/JCTree$JCExpression时抛出异常错误]
at com.baidu.bjf.remoting.protobuf.utils.compiler.JdkCompiler.doCompile (JdkCompiler.java:205)
at com.baidu.bjf.remoting.protobuf.utils.compiler.AbstractCompiler.compile (AbstractCompiler.java:46)
at com.baidu.bjf.remoting.protobuf.ProtobufProxy.doCreate (ProtobufProxy.java:274)
at com.baidu.bjf.remoting.protobuf.ProtobufProxy.create (ProtobufProxy.java:174)
at com.baidu.bjf.remoting.protobuf.ProtobufProxy.create (ProtobufProxy.java:155)
at com.baidu.jprotobuf.mojo.JprotobufPreCompileMain$1.onEntry (JprotobufPreCompileMain.java:134)
at jodd.io.findfile.ClassFinder.scanEntry (ClassFinder.java:375)
at jodd.io.findfile.ClassFinder.scanClassFile (ClassFinder.java:324)
at jodd.io.findfile.ClassFinder.scanClassPath (ClassFinder.java:307)
at jodd.io.findfile.ClassFinder.scanPath (ClassFinder.java:239)
at jodd.io.findfile.ClassFinder.scanPaths (ClassFinder.java:178)
at jodd.io.findfile.ClassScanner.scan (ClassScanner.java:35)
at jodd.io.findfile.ClassScanner.scanDefaultClasspath (ClassScanner.java:28)
at com.baidu.jprotobuf.mojo.JprotobufPreCompileMain.main (JprotobufPreCompileMain.java:182)
at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke (Method.java:498)
at com.baidu.jprotobuf.mojo.PreCompileMojo$1.run (PreCompileMojo.java:326)
at java.lang.Thread.run (Thread.java:748)
[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
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn -rf :testModule
[ERROR] Failed to execute goal com.baidu:jprotobuf-precompile-plugin:2.2.9:precompile (default) on project testModule: An exception occured while executing the Java class. null: InvocationTargetException: Scan entry error: Entry Data{learning.se.TestSe'}; <--- java.lang.IllegalStateException: Compilation failed. class: learning.se.TestSe$$JProtoBufClass, diagnostics: [错误: 服务配置文件不正确, 或构造处理程序对象javax.annotation.processing.Processor: Pro vider com.eastnoney.emtserialize.processor.SerializeProcessor could not be instantiated: java.lang.NoClassDefFoundError: com/sun/tools/javac/tree/JCTree$JCExpression时抛出异常错误] -> [Help 1] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal com.baidu:jprotobuf-precompile-plugin:2.2.9:precompile (default) on project testModule: An exception occured while executing the Java class. null -rf :testModule
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:215) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:156) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:148) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81) at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128) at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305) at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192) at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105) at org.apache.maven.cli.MavenCli.execute (MavenCli.java:957) at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:289) at org.apache.maven.cli.MavenCli.main (MavenCli.java:193) at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke (Method.java:498) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282) at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406) at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347) Caused by: org.apache.maven.plugin.MojoExecutionException: An exception occured while executing the Java class. null at com.baidu.jprotobuf.mojo.PreCompileMojo.execute (PreCompileMojo.java:380) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:137) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:210) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:156) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:148) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81) at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128) at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305) at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192) at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105) at org.apache.maven.cli.MavenCli.execute (MavenCli.java:957) at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:289) at org.apache.maven.cli.MavenCli.main (MavenCli.java:193) at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke (Method.java:498) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282) at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406) at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347) Caused by: java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke (Method.java:498) at com.baidu.jprotobuf.mojo.PreCompileMojo$1.run (PreCompileMojo.java:326) at java.lang.Thread.run (Thread.java:748) Caused by: jodd.io.findfile.FindFileException: Scan entry error: EntryData{learning.se.TestSe'}; <--- java.lang.IllegalStateException: Compilation failed. class: learning.se.TestSe$$JProtoBufClass, diagnostics: [错误: 服务配置文 件不正确, 或构造处理程序对象javax.annotation.processing.Processor: Provider com.eastnoney.emtserialize.processor.SerializeProcessor could not be instantiated: java.lang.NoClassDefFoundError: com/sun/tools/javac/tree/JCTree$JCExp ression时抛出异常错误] at jodd.io.findfile.ClassFinder.scanEntry (ClassFinder.java:377) at jodd.io.findfile.ClassFinder.scanClassFile (ClassFinder.java:324) at jodd.io.findfile.ClassFinder.scanClassPath (ClassFinder.java:307) at jodd.io.findfile.ClassFinder.scanPath (ClassFinder.java:239) at jodd.io.findfile.ClassFinder.scanPaths (ClassFinder.java:178) at jodd.io.findfile.ClassScanner.scan (ClassScanner.java:35) at jodd.io.findfile.ClassScanner.scanDefaultClasspath (ClassScanner.java:28) at com.baidu.jprotobuf.mojo.JprotobufPreCompileMain.main (JprotobufPreCompileMain.java:182) at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke (Method.java:498) at com.baidu.jprotobuf.mojo.PreCompileMojo$1.run (PreCompileMojo.java:326) at java.lang.Thread.run (Thread.java:748) Caused by: java.lang.Exception: Compilation failed. class: learning.se.TestSe$$JProtoBufClass, diagnostics: [错误: 服务配置文件不正确, 或构造处理程序对象javax.annotation.processing.Processor: Provider com.eastnoney.emtserialize. processor.SerializeProcessor could not be instantiated: java.lang.NoClassDefFoundError: com/sun/tools/javac/tree/JCTree$JCExpression时抛出异常错误] at com.baidu.jprotobuf.mojo.JprotobufPreCompileMain$1.onEntry (JprotobufPreCompileMain.java:144) at jodd.io.findfile.ClassFinder.scanEntry (ClassFinder.java:375) at jodd.io.findfile.ClassFinder.scanClassFile (ClassFinder.java:324) at jodd.io.findfile.ClassFinder.scanClassPath (ClassFinder.java:307) at jodd.io.findfile.ClassFinder.scanPath (ClassFinder.java:239) at jodd.io.findfile.ClassFinder.scanPaths (ClassFinder.java:178) at jodd.io.findfile.ClassScanner.scan (ClassScanner.java:35) at jodd.io.findfile.ClassScanner.scanDefaultClasspath (ClassScanner.java:28) at com.baidu.jprotobuf.mojo.JprotobufPreCompileMain.main (JprotobufPreCompileMain.java:182) at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke (Method.java:498) at com.baidu.jprotobuf.mojo.PreCompileMojo$1.run (PreCompileMojo.java:326) at java.lang.Thread.run (Thread.java:748) Caused by: java.lang.IllegalStateException: Compilation failed. class: learning.se.TestSe$$JProtoBufClass, diagnostics: [错误: 服务配置文件不正确, 或构造处理程序对象javax.annotation.processing.Processor: Provider com.eastnoney.e mtserialize.processor.SerializeProcessor could not be instantiated: java.lang.NoClassDefFoundError: com/sun/tools/javac/tree/JCTree$JCExpression时抛出异常错误] at com.baidu.bjf.remoting.protobuf.utils.compiler.JdkCompiler.doCompile (JdkCompiler.java:205) at com.baidu.bjf.remoting.protobuf.utils.compiler.AbstractCompiler.compile (AbstractCompiler.java:46) at com.baidu.bjf.remoting.protobuf.ProtobufProxy.doCreate (ProtobufProxy.java:274) at com.baidu.bjf.remoting.protobuf.ProtobufProxy.create (ProtobufProxy.java:174) at com.baidu.bjf.remoting.protobuf.ProtobufProxy.create (ProtobufProxy.java:155) at com.baidu.jprotobuf.mojo.JprotobufPreCompileMain$1.onEntry (JprotobufPreCompileMain.java:134) at jodd.io.findfile.ClassFinder.scanEntry (ClassFinder.java:375) at jodd.io.findfile.ClassFinder.scanClassFile (ClassFinder.java:324) at jodd.io.findfile.ClassFinder.scanClassPath (ClassFinder.java:307) at jodd.io.findfile.ClassFinder.scanPath (ClassFinder.java:239) at jodd.io.findfile.ClassFinder.scanPaths (ClassFinder.java:178) at jodd.io.findfile.ClassScanner.scan (ClassScanner.java:35) at jodd.io.findfile.ClassScanner.scanDefaultClasspath (ClassScanner.java:28) at com.baidu.jprotobuf.mojo.JprotobufPreCompileMain.main (JprotobufPreCompileMain.java:182) at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke (Method.java:498) at com.baidu.jprotobuf.mojo.PreCompileMojo$1.run (PreCompileMojo.java:326) at java.lang.Thread.run (Thread.java:748) [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 [ERROR] [ERROR] After correcting the problems, you can resume the build with the command [ERROR] mvn