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

关于代码升级问题 #1

Open
5666 opened this issue Feb 12, 2018 · 1 comment
Open

关于代码升级问题 #1

5666 opened this issue Feb 12, 2018 · 1 comment

Comments

@5666
Copy link

5666 commented Feb 12, 2018

本人在Window平台下使用的Java Version:1.8.0_162,Scala Version:2.12.4,sbtVersion:1.1.0。
在进行sbt package后,根据提示修改了project文件夹里assembly.sbt文件代码

addSbtPlugin("com.eed3si9n" % "sbt-assembly" % "0.14.6")

以及根目录文件build.sbt代码

scalaVersion  := "2.12.4"
javacOptions ++= Seq("-encoding","utf-8")
libraryDependencies += "org.nlpcn" % "nlp-lang" % "1.7.2"
libraryDependencies += "org.ansj" % "ansj_seg" % "5.1.5"

但是依旧出现如下错误
123
我个人认为是ansj_segment的升级导致找不到相关类,麻烦夏老师解决一下

@iamxiatian
Copy link
Owner

已经升级了依赖的sbt和scala版本,在Linux里面测试通过。Windows应该也没问题(未测试)。

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