Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: Class javax.usb.event.UsbDeviceListener could not be found. #11

Open
AbbottWC opened this issue Jun 29, 2014 · 0 comments
Open

Comments

@AbbottWC
Copy link

Sorry to be a bother (again), but I really, REALLY need this lib up and running. I'm putting together a how-to list that will follow all the directions I've been given.

Anyway, when I executed the mvn install with the -Plibusb flag I got this:

[INFO] ------------------------------------------------------------------------
[INFO] Building Javalibusb1 :: Implementation and JNI Wrapper 1.0.1-1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-nar-plugin:2.1-trygvis-1:nar-validate (default-nar-validate) @ javalibusb1 ---
[INFO] Using AOL: amd64-Linux-gpp
[INFO]
[INFO] --- maven-enforcer-plugin:1.0:enforce (enforce-maven) @ javalibusb1 ---
[INFO]
[INFO] --- maven-enforcer-plugin:1.0:enforce (default) @ javalibusb1 ---
[INFO]
[INFO] --- maven-nar-plugin:2.1-trygvis-1:nar-download (default-nar-download) @ javalibusb1 ---
[INFO]
[INFO] --- maven-nar-plugin:2.1-trygvis-1:nar-unpack (default-nar-unpack) @ javalibusb1 ---
[INFO]
[INFO] --- maven-nar-plugin:2.1-trygvis-1:nar-gnu-configure (default-nar-gnu-configure) @ javalibusb1 ---
[INFO]
[INFO] --- maven-nar-plugin:2.1-trygvis-1:nar-system-generate (default-nar-system-generate) @ javalibusb1 ---
[INFO] Generating /usr/lib/javax-usb-libusb1/javalibusb1/target/nar/nar-generated/javalibusb1/NarSystem.java
[INFO]
[INFO] --- maven-resources-plugin:2.4.3:resources (default-resources) @ javalibusb1 ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO]
[INFO] --- maven-nar-plugin:2.1-trygvis-1:nar-resources (default-nar-resources) @ javalibusb1 ---
[INFO] Copied 0 resources
[INFO]
[INFO] --- maven-nar-plugin:2.1-trygvis-1:nar-gnu-resources (default-nar-gnu-resources) @ javalibusb1 ---
[INFO]
[INFO] --- maven-nar-plugin:2.1-trygvis-1:nar-vcproj (default-nar-vcproj) @ javalibusb1 ---
[INFO]
[INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ javalibusb1 ---
[INFO] Compiling 11 source files to /usr/lib/javax-usb-libusb1/javalibusb1/target/classes
[INFO]
[INFO] --- maven-nar-plugin:2.1-trygvis-1:nar-javah (default-nar-javah) @ javalibusb1 ---
[INFO] Running /usr/lib/jvm/jdk1.8.0_05/jre/../bin/javah compiler on 4 classes...
[ERROR] Error: Class javax.usb.event.UsbDeviceListener could not be found.
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Javalibusb1 ....................................... SUCCESS [0.736s]
[INFO] Javalibusb1 :: javax.usb API implementation ....... SUCCESS [1.353s]
[INFO] Javalibusb1 :: libusb ............................. SUCCESS [18.477s]
[INFO] Javalibusb1 :: Implementation and JNI Wrapper ..... FAILURE [2.916s]
[INFO] Javalibusb1 :: javax.usb utilities ................ SKIPPED
[INFO] Javalibusb1 :: FTDI Driver ........................ SKIPPED
[INFO] Javalibusb1 :: Misc USB tools ..................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 24.764s
[INFO] Finished at: Sat Jun 28 13:07:04 CDT 2014
[INFO] Final Memory: 17M/95M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal io.trygvis.usb:maven-nar-plugin:2.1-trygvis-1:nar-javah (default-nar-javah) on project javalibusb1: /usr/lib/jvm/jdk1.8.0_05/jre/../bin/javah failed with exit code 1 0x1 -> [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:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn -rf :javalibusb1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant