I use meghanada-1.3.2.jar and jdk1.8.0_341
error log:
[INFO ][Main : 54] use java home: /opt/jdk1.8.0_341/jre
[INFO ][Main : 55] use java runtime: Java(TM) SE Runtime Environment 1.8.0_341-b10
[INFO ][Main : 59] use java vm: Java HotSpot(TM) 64-Bit Server VM 25.341-b10
[INFO ][ClassPathU: 26] add tools.jar path:/opt/jdk1.8.0_341/lib/tools.jar
[INFO ][MavenProje: 84] running maven. build classpath ...
[INFO ][MavenProje: 183] run mvn: mvn dependency:build-classpath -Dmdep.outputFile=/tmp/meghanada-maven-classpath1697880845143678973.l\
og
[ERROR][EmacsServe: 376] Catching
java.lang.NullPointerException: neither pomFile nor modelSource can be null
at org.apache.maven.model.building.DefaultModelBuilder.readModel(DefaultModelBuilder.java:542) ~[meghanada-1.3.2.jar:?]
at org.apache.maven.model.building.DefaultModelBuilder.readParentExternally(DefaultModelBuilder.java:1123) ~[meghanada-1.3.2.jar:?\
]
at org.apache.maven.model.building.DefaultModelBuilder.readParent(DefaultModelBuilder.java:853) ~[meghanada-1.3.2.jar:?]
at org.apache.maven.model.building.DefaultModelBuilder.build(DefaultModelBuilder.java:344) ~[meghanada-1.3.2.jar:?]
at org.apache.maven.model.building.DefaultModelBuilder.build(DefaultModelBuilder.java:252) ~[meghanada-1.3.2.jar:?]
at meghanada.project.maven.POMParser.parsePom(POMParser.java:90) ~[meghanada-1.3.2.jar:?]
at meghanada.project.maven.MavenProject.parseProject(MavenProject.java:122) ~[meghanada-1.3.2.jar:?]
at meghanada.session.Session.loadProject(Session.java:226) ~[meghanada-1.3.2.jar:?]
at meghanada.session.Session.findProject(Session.java:146) ~[meghanada-1.3.2.jar:?]
at meghanada.session.Session.createSession(Session.java:111) ~[meghanada-1.3.2.jar:?]
at meghanada.session.Session.createSession(Session.java:105) ~[meghanada-1.3.2.jar:?]
at meghanada.server.emacs.EmacsServer.startServer(EmacsServer.java:361) [meghanada-1.3.2.jar:?]
at meghanada.Main.main(Main.java:153) [meghanada-1.3.2.jar:?]
pom.xml (I change to pom.txt because github not support upload xml file):
pom.txt
I use meghanada-1.3.2.jar and jdk1.8.0_341 error log: [INFO ][Main : 54] use java home: /opt/jdk1.8.0_341/jre [INFO ][Main : 55] use java runtime: Java(TM) SE Runtime Environment 1.8.0_341-b10 [INFO ][Main : 59] use java vm: Java HotSpot(TM) 64-Bit Server VM 25.341-b10 [INFO ][ClassPathU: 26] add tools.jar path:/opt/jdk1.8.0_341/lib/tools.jar [INFO ][MavenProje: 84] running maven. build classpath ... [INFO ][MavenProje: 183] run mvn: mvn dependency:build-classpath -Dmdep.outputFile=/tmp/meghanada-maven-classpath1697880845143678973.l\ og [ERROR][EmacsServe: 376] Catching java.lang.NullPointerException: neither pomFile nor modelSource can be null at org.apache.maven.model.building.DefaultModelBuilder.readModel(DefaultModelBuilder.java:542) ~[meghanada-1.3.2.jar:?] at org.apache.maven.model.building.DefaultModelBuilder.readParentExternally(DefaultModelBuilder.java:1123) ~[meghanada-1.3.2.jar:?\ ] at org.apache.maven.model.building.DefaultModelBuilder.readParent(DefaultModelBuilder.java:853) ~[meghanada-1.3.2.jar:?] at org.apache.maven.model.building.DefaultModelBuilder.build(DefaultModelBuilder.java:344) ~[meghanada-1.3.2.jar:?] at org.apache.maven.model.building.DefaultModelBuilder.build(DefaultModelBuilder.java:252) ~[meghanada-1.3.2.jar:?] at meghanada.project.maven.POMParser.parsePom(POMParser.java:90) ~[meghanada-1.3.2.jar:?] at meghanada.project.maven.MavenProject.parseProject(MavenProject.java:122) ~[meghanada-1.3.2.jar:?] at meghanada.session.Session.loadProject(Session.java:226) ~[meghanada-1.3.2.jar:?] at meghanada.session.Session.findProject(Session.java:146) ~[meghanada-1.3.2.jar:?] at meghanada.session.Session.createSession(Session.java:111) ~[meghanada-1.3.2.jar:?] at meghanada.session.Session.createSession(Session.java:105) ~[meghanada-1.3.2.jar:?] at meghanada.server.emacs.EmacsServer.startServer(EmacsServer.java:361) [meghanada-1.3.2.jar:?] at meghanada.Main.main(Main.java:153) [meghanada-1.3.2.jar:?]
pom.xml (I change to pom.txt because github not support upload xml file): pom.txt