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

如何本地编译jar包 #2

Open
jimmy-walker opened this issue Aug 13, 2020 · 1 comment
Open

如何本地编译jar包 #2

jimmy-walker opened this issue Aug 13, 2020 · 1 comment

Comments

@jimmy-walker
Copy link

感谢你的工作。我想将其编译成jar包,放到spark集群使用。
但是该怎么做呢?
直接使用这个文件https://search.maven.org/artifact/io.github.frapples.javapinyin/java-pinyin/1.0-alpha-1/jar
使用时会报错:java.lang.NoClassDefFoundError: Could not initialize class io.github.frapples.javapinyin.api.JavaPinyin
我直接下载你的源码,想用idea进行编译成jar包。可是总是提示以下版本not found,换成maven网站上其他版本也不行。

<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>3.0.1</version>

期待你的回答。

@frapples
Copy link
Owner

  1. 是否是你使用的maven repository指向的公司镜像源不包含3.0.1版本的maven-source-plugin?你下载源码后,可以尝试修改该插件的版本,可参考你们项目组的其它项目。
  2. 这个库是我临时起意写的,可能性能不佳,稳定性不保证。目前我没有太多时间改进(我已经从java转行C了),使用前还请三思。

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

2 participants