我在我的项目中使用Drools我在方法签名中传递超过255个参数如果参数超过255则抛出错误。任何人都可以帮我解决问题吗?
java.lang.ClassFormatError:类文件com / hra / rules / Person中方法签名中的参数太多 at java.lang.ClassLoader.defineClass1(Native Method) 在java.lang.ClassLoader.defineClassCond(未知来源) at java.lang.ClassLoader.defineClass(Unknown Source) at org.drools.rule.JavaDialectRuntimeData $ PackageClassLoader.fastFindClass(JavaDialectRuntimeData.java:615) at org.drools.util.CompositeClassLoader $ CachingLoader.load(CompositeClassLoader.java:254) at org.drools.util.CompositeClassLoader $ CachingLoader.load(CompositeClassLoader.java:237) at org.drools.util.CompositeClassLoader.loadClass(CompositeClassLoader.java:88) at java.lang.ClassLoader.loadClass(Unknown Source) at org.drools.base.ClassTypeResolver.resolveType(ClassTypeResolver.java:155) 在org.drools.compiler.PackageBuilder.processTypeDeclarations(PackageBuilder.java:2049) 在org.drools.compiler.PackageBuilder.mergePackage(PackageBuilder.java:1218) at org.drools.compiler.PackageBuilder.addPackage(PackageBuilder.java:829) at org.drools.compiler.PackageBuilder.addPackageFromDrl(PackageBuilder.java:467) at org.drools.compiler.PackageBuilder.addKnowledgeResource(PackageBuilder.java:673) at org.drools.builder.impl.KnowledgeBuilderImpl.add(KnowledgeBuilderImpl.java:45) at org.drools.builder.impl.KnowledgeBuilderImpl.add(KnowledgeBuilderImpl.java:34) 在com.sample.DroolsTest.readKnowledgeBase(DroolsTest.java:601) 在com.sample.DroolsTest.main(DroolsTest.java:45)