failedjava.lang.NoClassDefFoundError: com/google/common/cache/LocalCache$Segment*

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Google Groups by yogesh10446, 1 year ago
com/google/common/cache/LocalCache$Segment*
java.lang.ClassNotFoundException: com.google.common.cache.LocalCache$Segment*
at org.java.plugin.standard.StandardPluginClassLoader.loadClass(StandardPluginClassLoader.java:330)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
at com.google.common.cache.LocalCache.newSegmentArray(LocalCache.java:1965)
at com.google.common.cache.LocalCache.(LocalCache.java:281)
at com.google.common.cache.LocalCache$LocalLoadingCache.(LocalCache.java:4817)
at org.mapsforge.map.writer.MapFileWriter.writeFile(MapFileWriter.java:347)
at org.mapsforge.map.writer.osmosis.MapFileWriterTask.complete(MapFileWriterTask.java:102)
at crosby.binary.osmosis.OsmosisBinaryParser.complete(OsmosisBinaryParser.java:35)
at crosby.binary.osmosis.OsmosisReader.run(OsmosisReader.java:45)
at java.lang.Thread.run(Thread.java:745)

Users with the same issue

You are the first who have seen this exception.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.