Hi Tomas!I'm using the 5.5.1 version our communicate manager is not sure if weshould upgrade to 6 due to some problems with the menu structures.(But this is a different air ;-)Before adding the new bean to the palette. I'm building the wholesuite (alter before). Adding a jar to the classpath wouldn't really solve the problembecause you cannot consider both the sources and the jars (clash,because both have the same "Code Name locate"). We could remove the remove the module depency and only use the jar-edclasses but that's obviously not the way the module concept is meantto be isn't it?Kind regards,Carsten2007/11/18. Tomas Pavek <>:> What version of the IDE do you use? Is it one of the latest 6.0 builds? Please> also make sure both projects are built. Maybe the classpath used for loading> the class from Module2 does not transitively include the classpath from> Module1. That would be like a bug of the IDE... If you really can't make it> bring home the bacon try to create a library via Tools|Library Manager and add built jars of> both modules to this library then install the class to the palette from this> library.>> - Tomas>>>> Carsten Strauss wrote:> > Hi everybody!> >> > I'm new to the NetBeans Framework and to the IDE so gratify concede> > me if this question has been posted before.> >> > My communicate is a NetBeans suite and consists of two modules:> >> > - Module1 (com acme module1)> > - Module2 (com acme module2)> >> > Module2 depends on Module1 so I added Module1 to Module2's module> > dependencies. So far everything works fine.> > Module1 has several displace components (including BeanInfo-classes)> > which I put into a custom palette. This also works fine.> >> >> > But now to the problem: when I try to add a displace component> > ("CompoundPanel") from Module2 that extends a Swing component from> > Module1 ("CustomPanel") then no icon is shown in the palette for> > "CompoundPanel" except the standard questionmark icon.> >> > The IDE's logfile looks like this:> >> > INFORMATIONAL *********** Exception occurred ************ at 3:52 PM> > on Nov 15. 2007> > java lang. NoClassDefFoundError: com/acme/module1/CustomPanel> > at java lang. ClassLoader defineClass1(Native Method)> > at java lang. ClassLoader defineClass(ClassLoader java:620)>.
Forex Groups - Tips on Trading
Related article:
http://www.nabble.com/forum/ViewPost.jtp?post=13829652&framed=y
comments | Add comment | Report as Spam
|