java.lang.ClassNotFoundException: me.mattrick.test.storage.TestStat

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

Samebug tips

,
Expert tip

This might be an issue with the file location in the Spark submit command. Try it with

spark-submit --master spark://master:7077 \
     hello_world_from_pyspark.py {file location}

,
Expert tip

Check if you've set a name in Application -> Run. If you didn't, the generated XML is gonna have missing information and then this exception will be thrown.

Solutions on the web

via Stack Overflow by mattrick
, 1 year ago
me.mattrick.test.storage.TestStat
java.lang.ClassNotFoundException: me.mattrick.test.storage.TestStat
at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:348)
at org.mongodb.morphia.mapping.DefaultCreator.getClass(DefaultCreator.java:175)
at org.mongodb.morphia.mapping.DefaultCreator.createInstance(DefaultCreator.java:97)
at org.mongodb.morphia.mapping.EmbeddedMapper.readMapOrCollectionOrEntity(EmbeddedMapper.java:205)
at org.mongodb.morphia.mapping.EmbeddedMapper.readCollection(EmbeddedMapper.java:142)
at org.mongodb.morphia.mapping.EmbeddedMapper.fromDBObject(EmbeddedMapper.java:45)
at org.mongodb.morphia.mapping.Mapper.readMappedField(Mapper.java:772)
at org.mongodb.morphia.mapping.Mapper.fromDb(Mapper.java:230)
at org.mongodb.morphia.mapping.Mapper.fromDBObject(Mapper.java:191)
at org.mongodb.morphia.query.MorphiaIterator.convertItem(MorphiaIterator.java:134)
at org.mongodb.morphia.query.MorphiaIterator.processItem(MorphiaIterator.java:146)
at org.mongodb.morphia.query.MorphiaIterator.next(MorphiaIterator.java:117)
at org.mongodb.morphia.query.QueryImpl.get(QueryImpl.java:220)
at me.mattrick.test.storage.UserRepository.getUserFromPlayer(UserRepository.java:22)
at me.mattrick.test.event.JoinEvent.onJoin(JoinEvent.java:37)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:306)
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:502)
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:487)
at net.minecraft.server.v1_8_R3.PlayerList.onPlayerJoin(PlayerList.java:298)
at net.minecraft.server.v1_8_R3.PlayerList.a(PlayerList.java:157)
at net.minecraft.server.v1_8_R3.LoginListener.b(LoginListener.java:144)
at net.minecraft.server.v1_8_R3.LoginListener.c(LoginListener.java:54)
at net.minecraft.server.v1_8_R3.NetworkManager.a(NetworkManager.java:231)
at net.minecraft.server.v1_8_R3.ServerConnection.c(ServerConnection.java:148)
at net.minecraft.server.v1_8_R3.MinecraftServer.B(MinecraftServer.java:814)
at net.minecraft.server.v1_8_R3.DedicatedServer.B(DedicatedServer.java:374)
at net.minecraft.server.v1_8_R3.MinecraftServer.A(MinecraftServer.java:654)
at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:557)
at java.lang.Thread.run(Thread.java:745)

Users with the same issue

Once, 1 day ago
144 times, 3 weeks ago
4 times, 3 weeks ago
Once, 2 months ago
Once, 5 months ago
1733 more bugmates

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