Nudity / reflections

Automatically exported from code.google.com/p/reflections
Do What The F*ck You Want To Public License
0 stars 0 forks source link

given scan urls are empty #104

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?

Reflections reflections = new Reflections("mypackage");
Set<Class<T>> annotatedClasses = (Set<Class<T>>) (Object) 
reflections.getTypesAnnotatedWith(annotationClass);

What is the expected output? What do you see instead?
The set is empty.

What version of the product are you using? On what operating system?
reflections: 0.9.6
Windows 7
java: JDK6
maven: 3.0.3
eclipse : indigo

Please provide any additional information below.

I run the class under eclipse or maven, and its failing.

10:00:15-586 ERROR: org.reflections.Reflections::given scan urls are empty. set 
urls in the configuration

The only stange issue, that is working on ubuntu, so im guessing it is a 
problem with the classloader.

Original issue reported on code.google.com by regis.le...@gmail.com on 27 Feb 2012 at 6:11

GoogleCodeExporter commented 8 years ago
http://code.google.com/p/reflections/issues/detail?id=48 it should be fixed by 
now

Original comment by regis.le...@gmail.com on 27 Feb 2012 at 6:12

GoogleCodeExporter commented 8 years ago
http://code.google.com/p/reflections/issues/detail?id=101 same problem

Original comment by regis.le...@gmail.com on 28 Feb 2012 at 2:08

GoogleCodeExporter commented 8 years ago

Original comment by ronm...@gmail.com on 2 May 2012 at 3:46