Errors by installing Maven with $ ./mvnw package
See original GitHub issueDear community,
I had successfully installed MsgViewer on this same laptop before under Ubuntu 20.04. Now I have done a fresh install of Ubuntu 22.04.
Ran the following command lines successfully:
$ sudo apt install openjdk-11-jre-headless $ sudo apt install maven $ sudo apt install git $ git clone https://github.com/lolo101/MsgViewer.git $ cd MsgViewer
Java is correctly installed:
$ java -version
openjdk version "11.0.15" 2022-04-19 OpenJDK Runtime Environment (build 11.0.15+10-Ubuntu-0ubuntu0.22.04.1) OpenJDK 64-Bit Server VM (build 11.0.15+10-Ubuntu-0ubuntu0.22.04.1, mixed mode, sharing)
Now when running the Maven install: $ ./mvnw package I get error notifications:
[INFO] Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.44 s - in at.redeye.FrameWork.base.UniqueDialogHelperTest [INFO] Running at.redeye.FrameWork.base.bindtypes.DBStringTest [INFO] Tests run: 29, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.088 s - in at.redeye.FrameWork.base.bindtypes.DBStringTest [INFO] [INFO] Results: [INFO] [ERROR] Errors: [ERROR] UniqueDialogHelperTest$WhenDialogAlreadyInvoked.<init>:40 NoClassDefFound Could not initialize class at.redeye.FrameWork.base.BaseDialogDialog [ERROR] UniqueDialogHelperTest$WhenDialogAlreadyInvoked.<init>:40 NoClassDefFound Could not initialize class at.redeye.FrameWork.base.BaseDialogDialog [ERROR] UniqueDialogHelperTest.should_return_dialog_instance:18 » UnsatisfiedLink Can’t load library: /usr/lib/jvm/java-11-openjdk-amd64/lib/libawt_xawt.so [INFO] [ERROR] Tests run: 66, Failures: 0, Errors: 3, Skipped: 0 [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary for parent 1.8.6-SNAPSHOT: [INFO] [INFO] parent … SUCCESS [ 0.147 s] [INFO] FrameWorkMinimized … FAILURE [ 2.200 s] [INFO] msgparser … SKIPPED [INFO] MSGViewer … SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 2.410 s [INFO] Finished at: 2022-06-19T09:43:58+03:00 [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:3.0.0-M7:test (default-test) on project FrameWorkMinimized: [ERROR] [ERROR] Please refer to /home/nicolas/MsgViewer/FrameWorkMinimized/target/surefire-reports for the individual test results. [ERROR] Please refer to dump files (if any exist) [date].dump, [date]-jvmRun[N].dump and [date].dumpstream. [ERROR] -> [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 <args> -rf :FrameWorkMinimized
The required file is not installed:
$ cd MsgViewer/MSGViewer/target
bash: MsgViewer/MSGViewer/target: No such file or directory
Can anyone please help fixing these errors?
Issue Analytics
- State:
- Created a year ago
- Comments:13 (5 by maintainers)
Top GitHub Comments
@lolo101 please have a loot
The one issue I am encountering is that it is terminal dependent. After opening the interface, I mostly close the terminal inadvertently, then MsgViewer also closes. At least it would be nice to have an interface that remains open when closing the terminal.
In addition, I just reopened it and now I got this notification: $ cd MsgViewer/MSGViewer/target $ java -jar msgviewer.jar WARNING: sun.reflect.Reflection.getCallerClass is not supported. This will impact performance. Gtk-Message: 16:25:09.804: Failed to load module “canberra-gtk-module”