java - Eclipse not compiling because of ClassNotFoundException -


after following an aws tutorial eclipse, code no longer compiles , runs. decided undo tutorial told me, may have changed settings forgot unchanged cannot find root of problem. eclipse seems default settings still can't run simple class. error:

exception in thread "main" java.lang.noclassdeffounderror: /users/myname/aspectj1/6/lib/aspectjrt/jar caused by: java.lang.classnotfoundexception: .users.myname.aspectj1.6.lib.aspectjrt.jar     @ java.net.urlclassloader$1.run(urlclassloader.java:202)     @ java.security.accesscontroller.doprivileged(native method)     @ java.net.urlclassloader.findclass(urlclassloader.java:190)     @ java.lang.classloader.loadclass(classloader.java:306)     @ sun.misc.launcher$appclassloader.loadclass(launcher.java:301)     @ java.lang.classloader.loadclass(classloader.java:247) 

it seems eclipse doesn't found library of aspectj. try download again from:

https://eclipse.org/aspectj/downloads.php

by stack trace suppose version of aspectj looking it's 1.6 suppose have search package in puts aspectj-1.6.0.jar in webpage put above.

edit: @ these lines in tutorial put above:

certain aws flow framework java annotations such @asynchronous require aspectj. don't need use aspectj directly, must enable either load-time weaving or compile-time weaving.

it seems necesary aws correct performance think have download libraries of aspectj again.

i expect solve problem!


Comments

Popular posts from this blog

c# - Validate object ID from GET to POST -

node.js - Custom Model Validator SailsJS -

php - Find a regex to take part of Email -