Comments (7)
I tried build jar, but couldn't reproduce it.
Please check your MANIFEST.MF
.
from meghanada-server.
@mopemope Hm I don't see any MANIFEST.MF
in my local directory, only Manifest.param
file. Can you tell me where should I look for it please?
from meghanada-server.
Please try again shadowJar
./gradlew clean shadowJar
And check following file.
./build/tmp/shadowJar/MANIFEST.MF
from meghanada-server.
@mopemope Ok, I recompiled and here's MANIFEST.MF file:
sandric@sandric-mac ~/meghanada-server> cat build/tmp/shadowJar/MANIFEST.MF
Manifest-Version: 1.0
Date: 2016-09-08T16:44:47+0300
Version: 0.1.0-620444b
Main-Class: meghanada.Main
from meghanada-server.
@mopemope Hi , I have the same issue.
I'm running on linux archlinux.
My manifest looks fine
Manifest-Version: 1.0
Date: 2016-09-09T09:58:49+0900
Version: 0.1.0-f5d3113
Main-Class: meghanada.Main
My java version
java -version
openjdk version "1.8.0_102"
OpenJDK Runtime Environment (build 1.8.0_102-b14)
OpenJDK 64-Bit Server VM (build 25.102-b14, mixed mode)
The error
java -jar ~/.meghanada/meghanada.jar --help
Exception in thread "main" java.lang.NullPointerException
at java.util.Hashtable.put(Hashtable.java:459)
at java.util.Properties.setProperty(Properties.java:166)
at java.lang.System.setProperty(System.java:796)
at meghanada.Main.main(Main.java:35)
from meghanada-server.
@ejemba @sandric Hmm. I can't reproduce it ...
Do you use gradle wrapper ?
from meghanada-server.
@mopemope yes I used gradle wrapper.
I identified the problem I think, with our configuration.
https://github.com/mopemope/meghanada-server/blob/master/src/main/java/meghanada/Main.java#L30
return mainAttributes.getValue("Version");
does return null rather what we found in the Manifest.Mf
I was wondering if the correct key to use shouldn't be : Attributes.Name.MANIFEST_VERSION
rather than "Version" ?
from meghanada-server.
Related Issues (20)
- Test failure with Java 11: 93% successful HOT 1
- downloadJar needs to handle the case where it fails HOT 1
- exclude-file broken in .meghanada.conf HOT 1
- dev branch: downloads Gradle HOT 1
- Downloads despites the jar is in /home/vertx/.emacs.d/meghanada HOT 1
- Exception in thread "pool-3-thread-1" java.lang.NoClassDefFoundError: Lcom/sun/source/tree/LineMap; HOT 3
- Cannot run program "mvn" HOT 1
- string index out of range, then consumes all of my CPU
- Error thown when building: No .git directory found! HOT 1
- Java 8 test failures HOT 1
- Windows XP - C:\Documents File Not Found HOT 3
- Question : set project root ? HOT 3
- java.lang.IllegalArgumentException when running server HOT 3
- java.nio.file.AccessDeniedException HOT 1
- Unrecognized VM option 'UseConcMarkSweepGC' when trying to execute main class.
- Dependency Dashboard
- OpenBSD Not Supported HOT 3
- Cut a new release for log4j fix HOT 1
- Bump Log4j to 2.17.1 HOT 1
- Error compiling file with junit dependency in gradle project HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from meghanada-server.