We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
主分支克隆后。执行命令mvn assembly:assembly 配置好配置后发现:
mvn assembly:assembly
Failed to find Premain-Class manifest attribute in /home/friddle/bin/tprofiler.jar 解压Jar果断发现META-INF/MANIFEST.MF
Manifest-Version: 1.0 Archiver-Version: Plexus Archiver Built-By: friddle Created-By: Apache Maven 3.3.9 Build-Jdk: 1.8.0_111
并没有Premain-Class属性。
系统:Linux friddle 4.4.0-3-deepin-amd64 #1 SMP Deepin 4.4.30-2 (2016-12-01) x86_64 GNU/Linux java版本: java version "1.7.0_79" Java(TM) SE Runtime Environment (build 1.7.0_79-b15) Java HotSpot(TM) 64-Bit Server VM (build 24.79-b02, mixed mode) maven版本: Apache Maven 3.3.9 Maven home: /usr/share/maven Java version: 1.8.0_111, vendor: Oracle Corporation Java home: /usr/lib/jvm/java-8-openjdk-amd64/jre Default locale: en_US, platform encoding: UTF-8 OS name: "linux", version: "4.4.0-3-deepin-amd64", arch: "amd64", family: "unix"
The text was updated successfully, but these errors were encountered:
下载1.0版本的代码后可以编译通过。有Premain属性。
Sorry, something went wrong.
这个在1.0之后被修改了,需要看pkg/TProfiler/lib下面的jar包了,在target下面的是没有Premain-Class的。 这个改动很容易误导人。
整个打包过程其实都可以在maven中处理。参考https://github.com/mccxj/TProfiler/blob/master/pom.xml
No branches or pull requests
主分支克隆后。执行命令
mvn assembly:assembly
配置好配置后发现:
并没有Premain-Class属性。
系统:Linux friddle 4.4.0-3-deepin-amd64 #1 SMP Deepin 4.4.30-2 (2016-12-01) x86_64 GNU/Linux
java版本:
java version "1.7.0_79"
Java(TM) SE Runtime Environment (build 1.7.0_79-b15)
Java HotSpot(TM) 64-Bit Server VM (build 24.79-b02, mixed mode)
maven版本:
Apache Maven 3.3.9
Maven home: /usr/share/maven
Java version: 1.8.0_111, vendor: Oracle Corporation
Java home: /usr/lib/jvm/java-8-openjdk-amd64/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "4.4.0-3-deepin-amd64", arch: "amd64", family: "unix"
The text was updated successfully, but these errors were encountered: