|
发表于 2022-6-9 05:13:51
|
显示全部楼层
网盘下的0.91版报错,.log相关部分如下:
45040 [Thread-4] ERROR com.fs.starfarer.combat.CombatMain - java.lang.RuntimeException: Error compiling [com.fs.starfarer.api.impl.hullmods.missile_reloadMy]
java.lang.RuntimeException: Error compiling [com.fs.starfarer.api.impl.hullmods.missile_reloadMy]
at com.fs.starfarer.loading.scripts.ScriptStore$3.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.ClassNotFoundException: File 'com/fs/starfarer/api/impl/hullmods/missile_reloadMy.java', Line 173, Column 93: A method named "getSMods" is not declared in any enclosing class nor any supertype, nor through a static import
at org.codehaus.janino.JavaSourceClassLoader.generateBytecodes(JavaSourceClassLoader.java:226)
at org.codehaus.janino.JavaSourceClassLoader.findClass(JavaSourceClassLoader.java:178)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
... 2 more
Caused by: org.codehaus.commons.compiler.CompileException: File 'com/fs/starfarer/api/impl/hullmods/missile_reloadMy.java', Line 173, Column 93: A method named "getSMods" is not declared in any enclosing class nor any supertype, nor through a static import
at org.codehaus.janino.UnitCompiler.compileError(UnitCompiler.java:10174)
at org.codehaus.janino.UnitCompiler.findIMethod(UnitCompiler.java:7392)
at org.codehaus.janino.UnitCompiler.getType2(UnitCompiler.java:5663)
at org.codehaus.janino.UnitCompiler.access$13800(UnitCompiler.java:185)
at org.codehaus.janino.UnitCompiler$16.visitMethodInvocation(UnitCompiler.java:5132)
at org.codehaus.janino.Java$MethodInvocation.accept(Java.java:3971)
at org.codehaus.janino.UnitCompiler.getType(UnitCompiler.java:5159)
at org.codehaus.janino.UnitCompiler.findIMethod(UnitCompiler.java:7333)
at org.codehaus.janino.UnitCompiler.compileGet2(UnitCompiler.java:3873)
at org.codehaus.janino.UnitCompiler.access$6900(UnitCompiler.java:185)
at org.codehaus.janino.UnitCompiler$10.visitMethodInvocation(UnitCompiler.java:3263)
at org.codehaus.janino.Java$MethodInvocation.accept(Java.java:3974)
at org.codehaus.janino.UnitCompiler.compileGet(UnitCompiler.java:3290)
at org.codehaus.janino.UnitCompiler.compileGetValue(UnitCompiler.java:4368)
at org.codehaus.janino.UnitCompiler.compileBoolean2(UnitCompiler.java:2854)
at org.codehaus.janino.UnitCompiler.access$4800(UnitCompiler.java:185)
at org.codehaus.janino.UnitCompiler$8.visitMethodInvocation(UnitCompiler.java:2815)
at org.codehaus.janino.Java$MethodInvocation.accept(Java.java:3974)
at org.codehaus.janino.UnitCompiler.compileBoolean(UnitCompiler.java:2842)
at org.codehaus.janino.UnitCompiler.compileBoolean2(UnitCompiler.java:3109)
at org.codehaus.janino.UnitCompiler.access$5100(UnitCompiler.java:185)
at org.codehaus.janino.UnitCompiler$8.visitParenthesizedExpression(UnitCompiler.java:2838)
at org.codehaus.janino.Java$ParenthesizedExpression.accept(Java.java:3830)
at org.codehaus.janino.UnitCompiler.compileBoolean(UnitCompiler.java:2842)
at org.codehaus.janino.UnitCompiler.compileBoolean2(UnitCompiler.java:2872)
at org.codehaus.janino.UnitCompiler.access$4900(UnitCompiler.java:185)
at org.codehaus.janino.UnitCompiler$8.visitUnaryOperation(UnitCompiler.java:2808)
at org.codehaus.janino.Java$UnaryOperation.accept(Java.java:3647)
at org.codehaus.janino.UnitCompiler.compileBoolean(UnitCompiler.java:2842)
at org.codehaus.janino.UnitCompiler.compileBoolean2(UnitCompiler.java:2936)
at org.codehaus.janino.UnitCompiler.access$5000(UnitCompiler.java:185)
at org.codehaus.janino.UnitCompiler$8.visitBinaryOperation(UnitCompiler.java:2809)
at org.codehaus.janino.Java$BinaryOperation.accept(Java.java:3768)
at org.codehaus.janino.UnitCompiler.compileBoolean(UnitCompiler.java:2842)
at org.codehaus.janino.UnitCompiler.compileBoolean2(UnitCompiler.java:2935)
at org.codehaus.janino.UnitCompiler.access$5000(UnitCompiler.java:185)
at org.codehaus.janino.UnitCompiler$8.visitBinaryOperation(UnitCompiler.java:2809)
at org.codehaus.janino.Java$BinaryOperation.accept(Java.java:3768)
at org.codehaus.janino.UnitCompiler.compileBoolean(UnitCompiler.java:2842)
at org.codehaus.janino.UnitCompiler.compileBoolean2(UnitCompiler.java:2935)
at org.codehaus.janino.UnitCompiler.access$5000(UnitCompiler.java:185)
at org.codehaus.janino.UnitCompiler$8.visitBinaryOperation(UnitCompiler.java:2809)
at org.codehaus.janino.Java$BinaryOperation.accept(Java.java:3768)
at org.codehaus.janino.UnitCompiler.compileBoolean(UnitCompiler.java:2842)
at org.codehaus.janino.UnitCompiler.compileBoolean2(UnitCompiler.java:2935)
at org.codehaus.janino.UnitCompiler.access$5000(UnitCompiler.java:185)
at org.codehaus.janino.UnitCompiler$8.visitBinaryOperation(UnitCompiler.java:2809)
at org.codehaus.janino.Java$BinaryOperation.accept(Java.java:3768)
at org.codehaus.janino.UnitCompiler.compileBoolean(UnitCompiler.java:2842)
at org.codehaus.janino.UnitCompiler.compileBoolean2(UnitCompiler.java:2935)
at org.codehaus.janino.UnitCompiler.access$5000(UnitCompiler.java:185)
at org.codehaus.janino.UnitCompiler$8.visitBinaryOperation(UnitCompiler.java:2809)
at org.codehaus.janino.Java$BinaryOperation.accept(Java.java:3768)
at org.codehaus.janino.UnitCompiler.compileBoolean(UnitCompiler.java:2842)
at org.codehaus.janino.UnitCompiler.compileBoolean2(UnitCompiler.java:2935)
at org.codehaus.janino.UnitCompiler.access$5000(UnitCompiler.java:185)
at org.codehaus.janino.UnitCompiler$8.visitBinaryOperation(UnitCompiler.java:2809)
at org.codehaus.janino.Java$BinaryOperation.accept(Java.java:3768)
at org.codehaus.janino.UnitCompiler.compileBoolean(UnitCompiler.java:2842)
at org.codehaus.janino.UnitCompiler.compileBoolean2(UnitCompiler.java:2935)
at org.codehaus.janino.UnitCompiler.access$5000(UnitCompiler.java:185)
at org.codehaus.janino.UnitCompiler$8.visitBinaryOperation(UnitCompiler.java:2809)
at org.codehaus.janino.Java$BinaryOperation.accept(Java.java:3768)
at org.codehaus.janino.UnitCompiler.compileBoolean(UnitCompiler.java:2842)
at org.codehaus.janino.UnitCompiler.compileBoolean2(UnitCompiler.java:2939)
at org.codehaus.janino.UnitCompiler.access$5000(UnitCompiler.java:185)
at org.codehaus.janino.UnitCompiler$8.visitBinaryOperation(UnitCompiler.java:2809)
at org.codehaus.janino.Java$BinaryOperation.accept(Java.java:3768)
at org.codehaus.janino.UnitCompiler.compileBoolean(UnitCompiler.java:2842)
at org.codehaus.janino.UnitCompiler.compileGet2(UnitCompiler.java:3300)
at org.codehaus.janino.UnitCompiler.compileGet2(UnitCompiler.java:3815)
at org.codehaus.janino.UnitCompiler.access$6300(UnitCompiler.java:185)
at org.codehaus.janino.UnitCompiler$10.visitBinaryOperation(UnitCompiler.java:3257)
at org.codehaus.janino.Java$BinaryOperation.accept(Java.java:3768)
at org.codehaus.janino.UnitCompiler.compileGet(UnitCompiler.java:3290)
at org.codehaus.janino.UnitCompiler.compileGet2(UnitCompiler.java:3868)
at org.codehaus.janino.UnitCompiler.access$8600(UnitCompiler.java:185)
at org.codehaus.janino.UnitCompiler$10.visitParenthesizedExpression(UnitCompiler.java:3286)
at org.codehaus.janino.Java$ParenthesizedExpression.accept(Java.java:3830)
at org.codehaus.janino.UnitCompiler.compileGet(UnitCompiler.java:3290)
at org.codehaus.janino.UnitCompiler.compileGetValue(UnitCompiler.java:4368)
at org.codehaus.janino.UnitCompiler.compile2(UnitCompiler.java:1911)
at org.codehaus.janino.UnitCompiler.access$2100(UnitCompiler.java:185)
at org.codehaus.janino.UnitCompiler$4.visitReturnStatement(UnitCompiler.java:946)
at org.codehaus.janino.Java$ReturnStatement.accept(Java.java:2544)
at org.codehaus.janino.UnitCompiler.compile(UnitCompiler.java:958)
at org.codehaus.janino.UnitCompiler.compileStatements(UnitCompiler.java:1007)
at org.codehaus.janino.UnitCompiler.compile(UnitCompiler.java:2293)
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.codehaus.janino.JavaSourceClassLoader.generateBytecodes(JavaSourceClassLoader.java:224)
... 5 more
具体问题出自mod文件夹下 com\fs\starfarer\api\impl\hullmods\missile_reloadMy.java 文件的此行:
|
|