1 Failure executing javac, but could not parse the error:
2 编译器 (1.6.0_07) 中出现异常。 如果在 Bug Parade 中没有找到该错误,请在 Java Dev
3 eloper Connection (http://java.sun.com/webapps/bugreport) 对该错误进行归档。 请
4 在报告中附上您的程序和以下诊断信息。谢谢您的合作。
5 java.nio.BufferOverflowException
6 at java.nio.Buffer.nextPutIndex(Buffer.java:495)
7 at java.nio.HeapCharBuffer.put(HeapCharBuffer.java:145)
8 at com.sun.tools.javac.util.DefaultFileManager.decode(DefaultFileManager
9 .java:830)
10 at com.sun.tools.javac.util.DefaultFileManager.access$300(DefaultFileMan
11 ager.java:76)
12 at com.sun.tools.javac.util.DefaultFileManager$RegularFileObject.getChar
13 Content(DefaultFileManager.java:1353)
14 at com.sun.tools.javac.util.DefaultFileManager$RegularFileObject.getChar
15 Content(DefaultFileManager.java:1252)
16 at com.sun.tools.javac.main.JavaCompiler.readSource(JavaCompiler.java:48
17 3)
18 at com.sun.tools.javac.main.JavaCompiler.parse(JavaCompiler.java:550)
19 at com.sun.tools.javac.main.JavaCompiler.parseFiles(JavaCompiler.java:80
20 1)
21 at com.sun.tools.javac.main.JavaCompiler.compile(JavaCompiler.java:727)
22 at com.sun.tools.javac.main.Main.compile(Main.java:353)
23 at com.sun.tools.javac.main.Main.compile(Main.java:279)
24 at com.sun.tools.javac.main.Main.compile(Main.java:270)
25 at com.sun.tools.javac.Main.compile(Main.java:87)
26 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
27 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
28 java:39)
29 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
30 sorImpl.java:25)
31 at java.lang.reflect.Method.invoke(Method.java:597)
32 at org.codehaus.plexus.compiler.javac.JavacCompiler.compileInProcess(Jav
33 acCompiler.java:420)
34 at org.codehaus.plexus.compiler.javac.JavacCompiler.compile(JavacCompile
35 r.java:141)
36 at org.apache.maven.plugin.AbstractCompilerMojo.execute(AbstractCompiler
37 Mojo.java:493)
38 at org.apache.maven.plugin.CompilerMojo.execute(CompilerMojo.java:114)
39 at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPlugi
40 nManager.java:483)
41 at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa
42 ultLifecycleExecutor.java:678)
43 at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLi
44 fecycle(DefaultLifecycleExecutor.java:540)
45 at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(Defau
46 ltLifecycleExecutor.java:519)
47 at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHan
48 dleFailures(DefaultLifecycleExecutor.java:371)
49 at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmen
50 ts(DefaultLifecycleExecutor.java:332)
51 at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLi
52 fecycleExecutor.java:181)
53 at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:356)
54 at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:137)
55 at org.apache.maven.cli.MavenCli.main(MavenCli.java:356)
56 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
57 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
58 java:39)
59 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
60 sorImpl.java:25)
61 at java.lang.reflect.Method.invoke(Method.java:597)
62 at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
63 at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
64 at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
65
66 at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
67
68
通过 eclipse IDE 工具的 project -->clean 运行后,可以执行mvn install命令