|
|
发表于 2026-9-28 13:40:51
|
显示全部楼层
6640 [Thread-2] ERROR com.fs.starfarer.combat.CombatMain - java.lang.RuntimeException: Error loading [data.scripts.oleg_mod_plugin]
java.lang.RuntimeException: Error loading [data.scripts.oleg_mod_plugin]
at com.fs.starfarer.loading.scripts.ScriptStore$3.run(Unknown Source)
at java.base/java.lang.Thread.run(Unknown Source)
Caused by: java.lang.ClassNotFoundException: File 'data/scripts/oleg_mod_plugin.java', Line 52, Column 32: Cannot determine simple type name "GroundUnitDef"
at org.fossic.starsector.optimization.DeduplicatingJavaSourceClassLoader.generateBytecodes(DeduplicatingJavaSourceClassLoader.java:95)
at org.fossic.starsector.optimization.CachingIndexedDeduplicatingJavaSourceClassLoader.generateBytecodes(CachingIndexedDeduplicatingJavaSourceClassLoader.java:154)
at org.codehaus.janino.JavaSourceClassLoader.findClass(JavaSourceClassLoader.java:178)
at org.fossic.starsector.optimization.CachingIndexedDeduplicatingJavaSourceClassLoader.findClass(CachingIndexedDeduplicatingJavaSourceClassLoader.java:148)
at java.base/java.lang.ClassLoader.loadClass(Unknown Source)
at java.base/java.lang.ClassLoader.loadClass(Unknown Source)
... 2 more
Caused by: org.codehaus.commons.compiler.CompileException: File 'data/scripts/oleg_mod_plugin.java', Line 52, Column 32: Cannot determine simple type name "GroundUnitDef"
at org.codehaus.janino.UnitCompiler.compileError(UnitCompiler.java:10174)
at org.codehaus.janino.UnitCompiler.getReferenceType(UnitCompiler.java:5398)
at org.codehaus.janino.UnitCompiler.getReferenceType(UnitCompiler.java:5207)
at org.codehaus.janino.UnitCompiler.getType2(UnitCompiler.java:5188)
at org.codehaus.janino.UnitCompiler.access$12600(UnitCompiler.java:185)
at org.codehaus.janino.UnitCompiler$16.visitReferenceType(UnitCompiler.java:5119)
at org.codehaus.janino.Java$ReferenceType.accept(Java.java:2880)
at org.codehaus.janino.UnitCompiler.getType(UnitCompiler.java:5159)
at org.codehaus.janino.UnitCompiler.getLocalVariable(UnitCompiler.java:1877)
at org.codehaus.janino.UnitCompiler.buildLocalVariableMap(UnitCompiler.java:2552)
at org.codehaus.janino.UnitCompiler.access$4300(UnitCompiler.java:185)
at org.codehaus.janino.UnitCompiler$6.visitLocalVariableDeclarationStatement(UnitCompiler.java:2434)
at org.codehaus.janino.Java$LocalVariableDeclarationStatement.accept(Java.java:2508)
at org.codehaus.janino.UnitCompiler.buildLocalVariableMap(UnitCompiler.java:2437)
at org.codehaus.janino.UnitCompiler.buildLocalVariableMap(UnitCompiler.java:2459)
at org.codehaus.janino.UnitCompiler.access$3200(UnitCompiler.java:185)
at org.codehaus.janino.UnitCompiler$6.visitBlock(UnitCompiler.java:2421)
at org.codehaus.janino.Java$Block.accept(Java.java:2012)
at org.codehaus.janino.UnitCompiler.buildLocalVariableMap(UnitCompiler.java:2437)
at org.codehaus.janino.UnitCompiler.buildLocalVariableMap(UnitCompiler.java:2525)
at org.codehaus.janino.UnitCompiler.access$4000(UnitCompiler.java:185)
at org.codehaus.janino.UnitCompiler$6.visitTryStatement(UnitCompiler.java:2429)
at org.codehaus.janino.Java$TryStatement.accept(Java.java:2286)
at org.codehaus.janino.UnitCompiler.buildLocalVariableMap(UnitCompiler.java:2437)
at org.codehaus.janino.UnitCompiler.buildLocalVariableMap(UnitCompiler.java:2395)
at org.codehaus.janino.UnitCompiler.compile(UnitCompiler.java:2250)
at org.codehaus.janino.UnitCompiler.compileDeclaredMethods(UnitCompiler.java:822)
at org.codehaus.janino.UnitCompiler.compileDeclaredMethods(UnitCompiler.java:794)
at org.codehaus.janino.UnitCompiler.compile2(UnitCompiler.java:507)
at org.codehaus.janino.UnitCompiler.compile2(UnitCompiler.java:393)
at org.codehaus.janino.UnitCompiler.access$400(UnitCompiler.java:185)
at org.codehaus.janino.UnitCompiler$2.visitPackageMemberClassDeclaration(UnitCompiler.java:347)
at org.codehaus.janino.Java$PackageMemberClassDeclaration.accept(Java.java:1139)
at org.codehaus.janino.UnitCompiler.compile(UnitCompiler.java:354)
at org.codehaus.janino.UnitCompiler.compileUnit(UnitCompiler.java:322)
at org.fossic.starsector.optimization.DeduplicatingJavaSourceClassLoader.generateBytecodes(DeduplicatingJavaSourceClassLoader.java:91)
... 7 more
报错是这个
|
|