aspose file tools*
The moose likes JForum and the fly likes  Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Products » JForum
Bookmark " "The import org.jboss.cache.TreeCache cannnot be resolved." how to solve this problem?" Watch " "The import org.jboss.cache.TreeCache cannnot be resolved." how to solve this problem?" New topic
Author

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

ron sun
Greenhorn

Joined: Jun 28, 2012
Posts: 11
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.
Jeanne Boyarsky
author & internet detective
Marshal

Joined: May 26, 2003
Posts: 30753
    
156

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.


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
William P O'Sullivan
Ranch Hand

Joined: Mar 28, 2012
Posts: 859

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

Joined: Jun 28, 2012
Posts: 11
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.




[Thumbnail for 2012-07-13 05-54-27.png]

Jeanne Boyarsky
author & internet detective
Marshal

Joined: May 26, 2003
Posts: 30753
    
156

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

Joined: Jun 28, 2012
Posts: 11
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
Marshal

Joined: May 26, 2003
Posts: 30753
    
156

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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: "The import org.jboss.cache.TreeCache cannnot be resolved." how to solve this problem?