Error: scalac: Error: object CharRef does not have a member the create
Scala. Reflect. Internal. FatalError: object CharRef does not have a member the create
At the scala. Reflect. Internal. Definitions $DefinitionsClass. Scala $$$$$$fatalMissingSymbol DefinitionsClass Definitions internal reflect (1186) Definitions. Scala:
At the scala. Reflect. Internal. Definitions $DefinitionsClass. GetMember (1203) Definitions. Scala:
.
CodePudding user response:
Is your wordcount own jars or compile your own?Error message is not the key information
CodePudding user response:
I also encountered this problem, the spark, the JDK, scala version is changed or not, could you tell me your problem solvedCodePudding user response:
Error: scalac: Error: Error compiling the SBT component 'compiler - interface - 2.10.6-55.0'Sbt.internal.inc.Com pileFailed: Error compiling the SBT component 'compiler - interface - 2.10.6-55.0'
The at SBT. Internal. Inc., AnalyzingCompiler $. HandleCompilationError $1 (331). AnalyzingCompiler scala:
At SBT. Internal. Inc., AnalyzingCompiler $. $$compileSources anonfun $4 (346). AnalyzingCompiler scala:
The at SBT. Internal. Inc., AnalyzingCompiler $$$compileSources anonfun $4 $adapted (AnalyzingCompiler. Scala: 341)
At SBT. IO. IO $. WithTemporaryDirectory (376). IO scala:
At SBT. IO. IO $. WithTemporaryDirectory (383). IO scala:
At SBT. Internal. Inc., AnalyzingCompiler $$$compileSources anonfun $2 (341). AnalyzingCompiler scala:
The at SBT. Internal. Inc., AnalyzingCompiler $$$compileSources anonfun $2 $adapted (AnalyzingCompiler. Scala: 335)
At SBT. IO. IO $. WithTemporaryDirectory (376). IO scala:
At SBT. IO. IO $. WithTemporaryDirectory (383). IO scala:
At sbt.internal.inc.AnalyzingCompiler$.com pileSources (AnalyzingCompiler. Scala: 335)
At org.jetbrains.jps.incremental.scala.local.Com pilerFactoryImpl $. GetOrCompileInterfaceJar (CompilerFactoryImpl scala: 113)
At org.jetbrains.jps.incremental.scala.local.Com pilerFactoryImpl. $$getScalac anonfun $1 (CompilerFactoryImpl. Scala: 49)
At the scala. Option. The map (146) Option. The scala:
At org.jetbrains.jps.incremental.scala.local.Com pilerFactoryImpl. GetScalac (CompilerFactoryImpl. Scala: 47)
At org.jetbrains.jps.incremental.scala.local.Com pilerFactoryImpl. CreateCompiler (CompilerFactoryImpl. Scala: 25)
The at org. Jetbrains. The JPS. Incremental. Scala. Local. CachingFactory. $$createCompiler anonfun $3 (CachingFactory. Scala: 24)
The at org. Jetbrains. The JPS. Incremental. Scala.. The local Cache. $$getOrUpdate anonfun $2 (20) Cache. Scala:
At the scala. Option. GetOrElse (121) Option. The scala:
The at org. Jetbrains. The JPS. Incremental. Scala.. The local Cache. GetOrUpdate (Cache. Scala: 19)
The at org. Jetbrains. The JPS. Incremental. Scala. Local. CachingFactory. CreateCompiler (CachingFactory. Scala: 24)
Running at org.jetbrains.jps.incremental.scala.local.LocalServer.com (LocalServer. Scala: 27)
The at org. Jetbrains. The JPS. Incremental. Scala. Remote. The Main $. Make (88). The Main scala:
The at org. Jetbrains. The JPS. Incremental. Scala. Remote. The Main $. NailMain (Main. Scala: 36)
The at org. Jetbrains. The JPS. Incremental. Scala. Remote. Main. NailMain (Main. Scala)
The at Java. The base/JDK. Internal. Reflect. NativeMethodAccessorImpl. Invoke0 (Native Method)
The at Java. The base/JDK. Internal. Reflect. NativeMethodAccessorImpl. Invoke (NativeMethodAccessorImpl. Java: 62)
The at Java. The base/JDK. Internal. Reflect. DelegatingMethodAccessorImpl. Invoke (43) DelegatingMethodAccessorImpl. Java:
The at Java. The base/Java. Lang. Reflect. Method. Invoke (566) Method. The Java:
At com. Martiansoftware. Nailgun. NGSession. Run (319) NGSession. Java: