ここで自分のプロジェクトに Drools を使用しています。引数が 255 を超えると、メソッド シグネチャで 255 を超える引数を渡すことができず、エラーがスローされます。問題を解決する方法を教えてください。
java.lang.ClassFormatError: クラス ファイル com/hra/rules/Person のメソッド シグネチャの引数が多すぎますorg.drools.rule.JavaDialectRuntimeData$PackageClassLoader.fastFindClass(JavaDialectRuntimeData.java:615) の .ClassLoader.defineClass(不明なソース) org.drools.util.CompositeClassLoader$CachingLoader.load(CompositeClassLoader.java:254) の org.drools .util.CompositeClassLoader$CachingLoader.load(CompositeClassLoader.java:237) at org.drools.util.CompositeClassLoader.loadClass(CompositeClassLoader.java:88) java.lang.ClassLoader.loadClass(Unknown Source) at org.drools.base org.drools の .ClassTypeResolver.resolveType(ClassTypeResolver.java:155)。compiler.PackageBuilder.processTypeDeclarations(PackageBuilder.java:2049) org.drools.compiler.PackageBuilder.mergePackage(PackageBuilder.java:1218) org.drools.compiler.PackageBuilder.addPackage(PackageBuilder.java:829) org.drools .compiler.PackageBuilder.addPackageFromDrl(PackageBuilder.java:467) の org.drools.compiler.PackageBuilder.addKnowledgeResource(PackageBuilder.java:673) の org.drools.builder.impl.KnowledgeBuilderImpl.add(KnowledgeBuilderImpl.java:45) のorg.drools.builder.impl.KnowledgeBuilderImpl.add(KnowledgeBuilderImpl.java:34) com.sample.DroolsTest.readKnowledgeBase(DroolsTest.java:601) com.sample.DroolsTest.main(DroolsTest.java:45)mergePackage(PackageBuilder.java:1218) org.drools.compiler.PackageBuilder.addPackage(PackageBuilder.java:829) org.drools.compiler.PackageBuilder.addPackageFromDrl(PackageBuilder.java:467) org.drools.compiler.PackageBuilder org.drools.builder.impl.KnowledgeBuilderImpl.add(KnowledgeBuilderImpl.java:45) の .addKnowledgeResource(PackageBuilder.java:673) sample.DroolsTest.readKnowledgeBase(DroolsTest.java:601) at com.sample.DroolsTest.main(DroolsTest.java:45)mergePackage(PackageBuilder.java:1218) org.drools.compiler.PackageBuilder.addPackage(PackageBuilder.java:829) org.drools.compiler.PackageBuilder.addPackageFromDrl(PackageBuilder.java:467) org.drools.compiler.PackageBuilder org.drools.builder.impl.KnowledgeBuilderImpl.add(KnowledgeBuilderImpl.java:45) の .addKnowledgeResource(PackageBuilder.java:673) sample.DroolsTest.readKnowledgeBase(DroolsTest.java:601) at com.sample.DroolsTest.main(DroolsTest.java:45)addKnowledgeResource(PackageBuilder.java:673) org.drools.builder.impl.KnowledgeBuilderImpl.add(KnowledgeBuilderImpl.java:45) org.drools.builder.impl.KnowledgeBuilderImpl.add(KnowledgeBuilderImpl.java:34) com.sample .DroolsTest.readKnowledgeBase(DroolsTest.java:601) at com.sample.DroolsTest.main(DroolsTest.java:45)addKnowledgeResource(PackageBuilder.java:673) org.drools.builder.impl.KnowledgeBuilderImpl.add(KnowledgeBuilderImpl.java:45) org.drools.builder.impl.KnowledgeBuilderImpl.add(KnowledgeBuilderImpl.java:34) com.sample .DroolsTest.readKnowledgeBase(DroolsTest.java:601) at com.sample.DroolsTest.main(DroolsTest.java:45)