|
|
Browse by Tags
All Tags » eclipse » classloader (RSS)
-
Eclipse uses many class loaders. In your configuration file try this:
final Configuration config = Db4o.configure(); MyPersistantClass myObject = new MyPersistantClass() ;ClassLoader cl = myObject.getClass().getClassLoader();config.reflectWith(new JdkReflector(cl));
-
I'm not sure which OSGi framework you are using. If you are running on Eclipse Equinox then you can make use of an Eclipse specific extension called ''buddy classloading''. However, this limits your ability to run your bundles on other OSGi frameworks.
Basically, you would create a DB4O bundle and add the following to it's bundle ...
-
Hi,
looks like the db4o src isn't the issue. If eclipse can't find the source for Classloader.class (which isn't a db4o class) is because your eclipse doesn't have the sources of the Java SDK.
The source usually comes with the SDK itself. Look for a ''src.zip'' file in your JAVA_HOME.
-
The below problem seems to have happened because of not adding the db4o source code in the project workspace. deeps_21:''Source attachment not found''
The source attachment does not find the source for ClassLoader.class
This can be solved by adding the db4o source as mentioned below1 Copy the src (source code) folder of ...
-
Hi,
I was trying to browse through the db4O source code and trying to understand the flow for set() api. I am using Eclipse
However I cant proceed since I get the following error message.
''Source attachment not found''
The source attachment does not find the source for ClassLoader.class
can somebody help me here.
|
|
|