Scala exception NoClassDefFoundError: scala.util.parsing.json.JSONObject in eclipse -
in scala program (in eclipse ide) imported jsonobject following:
import scala.util.parsing.json.jsonobject when tried run program throws: caused by: java.lang.classnotfoundexception: scala.util.parsing.json.jsonobject
but when run mvn clean install, can compiled well. think maybe tricks in eclipse, idea please! in advance.
eclipse gives problem scala. try - go eclipse toolbar. go project. uncheck build automatically. go project again. select build all. (it force build project).
go project again , check build automatically.
Comments
Post a Comment