Maui run error

61 views
Skip to first unread message

Yura Smetanka

unread,
Mar 2, 2017, 9:22:54 AM3/2/17
to Kea and Maui Support
I completly followed the guide https://code.google.com/archive/p/maui-indexer/wikis/Installation.wiki but after executing the following command :java maui.main.MauiModelBuilder –l data/automatic_tagging/train/ –m test –d
I have next Exeption 

Exception in thread "main" java.lang.NoClassDefFoundError: maui/main/MauiModelBuilder
Caused by: java.lang.ClassNotFoundException: maui.main.MauiModelBuilder
        at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
Could not find the main class: maui.main.MauiModelBuilder.  Program will exit.

So. what's wrong?

Alyona

unread,
Mar 2, 2017, 2:04:50 PM3/2/17
to Kea and Maui Support
Java ClassPath isn't set correctly.

Yura Smetanka

unread,
Mar 2, 2017, 3:09:08 PM3/2/17
to kea-and-ma...@googlegroups.com
Hi, I have another question
when I try to install https://github.com/zelandiya/maui with maven I`ve got this:

[ERROR] Unknown lifecycle phase "package
[ERROR] ". You must specify a valid lifecycle phase or a goal in the format <plugin-prefix>:<goal> or <plugin-group-id>:<plugin-artifact-id>[:<plugin-version>]:<goal>. Available lifecycle phases are: validate, initialize, generate-sources, process-sources, generate-resources, process-resources, compile, process-classes, generate-test-sources, process-test-sources, generate-test-resources, process-test-resources, test-compile, process-test-classes, test, prepare-package, package, pre-integration-test, integration-test, post-integration-test, verify, install, deploy, pre-clean, clean, post-clean, pre-site, site, post-site, site-deploy. -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:


By the way(about my previous question), the ClassPath set like this:

:/home/yura/Service/Maui1.2/commons-io-1.4.jar:/home/yura/Service/Maui1.2/commons-logging.jar:/home/yura/Service/Maui1.2/icu4j_3_4.jar:/home/yura/Service/Maui1.2/iri.jar:/home/yura/Service/Maui1.2/jena.jar:/home/yura/Service/Maui1.2/maxent-2.4.0.jar:/home/yura/Service/Maui1.2/mysql-connector-java-3.1.13-bin.jar:/home/yura/Service/Maui1.2/opennlp-tools-1.3.0.jar:/home/yura/Service/Maui1.2/snowball.jar:/home/yura/Service/Maui1.2/trove.jar:/home/yura/Service/Maui1.2/weka.jar:/home/yura/Service/Maui1.2/wikipediaminer1.1.jar:/home/yura/Service/Maui1.2/xercesImpl.jar:/home/yura/Service/Maui1.2/src/:/home/yura/Service/Maui1.2/bin/


--
You received this message because you are subscribed to a topic in the Google Groups "Kea and Maui Support" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/kea-and-maui-support/gnV-UtV1mWw/unsubscribe.
To unsubscribe from this group and all its topics, send an email to kea-and-maui-support+unsub...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages