I am trying to figure out how to export my project correctly. It works fine inside the eclipse environment, but running it outside creates class errors.
My class is AutoPost.java. Do I have to do an export with all the library information?
Exception in thread "main" java.lang.NoClassDefFoundError: AutoPost/java
Caused by: java.lang.ClassNotFoundException: AutoPost.java
at java.net.URLClassLoader$1.run(URLClassLoader.java: 202)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.j ava:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:3 06)
at sun.misc.Launcher$AppClassLoader.loadClass(Launche r.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:2 47)