• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

"The import org.jboss.cache.TreeCache cannnot be resolved." how to solve this problem?

 
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
i want to debug JForum, but got errors like "The import org.jboss.cache.TreeCache cannnot be resolved."

i cannot find which jar file contain org.jboss.cache.TreeCache etc,

file net.jforum.cache.JBossCacheEngine.java & net.jforum.cache.JBossCacheListener.java



i try to find the jar,but only find docs http://docs.jboss.org/jbossas/javadoc/3.2.7/cache/index.html

thanks.
 
author & internet detective
Posts: 41860
908
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
That sounds like code in the JBoss server. Do you really need to debug at such a low level? Instead, try setting a breakpoint at the last net.jforum class.

It seems likely that JBoss isn't broken and whatever error you have is in JForum.
 
Ranch Hand
Posts: 859
IBM DB2 Chrome Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Maybe not the source (which you shouldn't debug),

but jars can be found here: http://findjar.com/index.x?query=org.jboss.cache.TreeCache

WP
 
ron sun
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
thanks.

I just begin to debug JForum.

i use Eclipse Java EE IDE for Web Developers Version: Juno Release & Tomcat 6.

i first new a dynamic web project , then put jforum into directory "WebContent" except src to project's "src".

then i get errors showing in attachment.

i don't understand -- how did i miss those jar file? it cannot be jforum's bug. what's wrong in my debug envirement? mybe if i add the 'lost' jar file, it would be ok . so i ask help here.

but atfer adding, new error comes.

so when i don't use tomcat but jboss, these errors would be disappear. am i right?

if i still use tomcat , those errors need't be fixed. am i right?

thanks for picking out errors in what i said.

2012-07-13-05-54-27.png
[Thumbnail for 2012-07-13-05-54-27.png]
error pic
 
Jeanne Boyarsky
author & internet detective
Posts: 41860
908
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Oh! So you are compiling, not debugging. The solution is different since it fails to compile.

We deleted that class (and the other JBoss one below it) from our copy of JForum. As this person suggests as well.
 
ron sun
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
yes, i am compiling. and i learned by your words that IDE always automatically does this and compiling is not a part of debuging.


thanks.
 
Jeanne Boyarsky
author & internet detective
Posts: 41860
908
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Right. Compiling is making the code compile (circular I know.) It can happen automatically or on demand. Debugging is figuring out why your code doesn't work.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic