Options

"Problems with weka plugin when initializing rapid miner from eclipse"

matthias_192003matthias_192003 Member Posts: 2 Contributor I
edited June 2019 in Help
Hi everyone,

I just tried to initialize RapidMiner from my java project. Unfortunately, I get the following error message regarding the weka plugin:

log4j:ERROR Could not find [log4j.dtd]. Used [sun.misc.Launcher$AppClassLoader@1050169] class loader in the search.
Nov 09, 2011 11:22:48 PM com.rapid_i.Launcher ensureRapidMinerHomeSet
Information: rapidminer.home is 'D:\Programmieren\Java\RapidMiner_Vega'.
Nov 09, 2011 11:22:48 PM com.rapid_i.Launcher main
Information: Launching RapidMiner, platform null
Nov 09, 2011 11:22:48 PM com.rapid_i.Launcher ensureRapidMinerHomeSet
INFO: rapidminer.home is 'D:\Programmieren\Java\RapidMiner_Vega'.
Nov 09, 2011 11:22:48 PM com.rapidminer.tools.ParameterService init
INFO: Reading configuration resource com/rapidminer/resources/rapidminerrc.
Nov 09, 2011 11:22:50 PM com.rapidminer.parameter.ParameterTypePassword decryptPassword
WARNING: Password in XML file looks like unencrypted plain text.
Nov 09, 2011 11:22:50 PM com.rapidminer.tools.OperatorService init
INFO: Loading additional operators specified by RapidMiner.PROPERTY_RAPIDMINER_OPERATORS_ADDITIONAL (D:\Programmieren\Java\Dissertation\resources\com\rapidminer\resources\OperatorsTutorial.xml)
Nov 09, 2011 11:22:50 PM com.rapidminer.tools.OperatorService parseOperators
SEVERE: Failed to register operator: java.lang.AbstractMethodError: com.rapidminer.tools.WekaOperatorFactory.registerOperators(Ljava/lang/ClassLoader;Lcom/rapidminer/tools/plugin/Plugin;)V
java.lang.AbstractMethodError: com.rapidminer.tools.WekaOperatorFactory.registerOperators(Ljava/lang/ClassLoader;Lcom/rapidminer/tools/plugin/Plugin;)V
at com.rapidminer.tools.OperatorService.parseOperators(OperatorService.java:304)
at com.rapidminer.tools.OperatorService.parseOperators(OperatorService.java:232)
at com.rapidminer.tools.OperatorService.registerOperators(OperatorService.java:206)
at com.rapidminer.tools.plugin.Plugin.registerOperators(Plugin.java:471)
at com.rapidminer.tools.plugin.Plugin.registerAllPluginOperators(Plugin.java:725)
at com.rapidminer.tools.OperatorService.init(OperatorService.java:167)
at com.rapidminer.RapidMiner.init(RapidMiner.java:465)
at com.rapidminer.gui.RapidMinerGUI.run(RapidMinerGUI.java:221)
at com.rapidminer.gui.RapidMinerGUI.launch(RapidMinerGUI.java:505)
at com.rapidminer.gui.RapidMinerGUI.main(RapidMinerGUI.java:488)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at com.rapid_i.Launcher.main(Launcher.java:334)
at main.Test.main(Test.java:46)

Nov 09, 2011 11:22:50 PM com.rapidminer.tools.jdbc.JDBCProperties <init>
WARNING: Missing database driver class name for 'ODBC Bridge (e.g. Access)'
Nov 09, 2011 11:22:50 PM com.rapidminer.tools.jdbc.JDBCProperties registerDrivers
INFO: JDBC driver ca.ingres.jdbc.IngresDriver not found. Probably the driver is not installed.
Surprisingly, there is no such error if i start the same RapidMiner instance with the start script (RapidMinerGui.bat). Besides, both scenarios should be exactly the same as I freshly build RapidMiner and the Weka plugin.

Regards
Tagged:

Answers

  • Options
    matthias_192003matthias_192003 Member Posts: 2 Contributor I
    Problem solved. I just referenced another project, which included an older weka.jar. Consequently, the class loader got the old version of the WekaOperatorFactory being not compatible. Unfortunately, it took me a while to figure out... many rebuilds later :).
Sign In or Register to comment.