• 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
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
  • paul wheaton
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Henry Wong
Saloon Keepers:
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Tim Moores
  • Mikalai Zaikin
Bartenders:
  • Frits Walraven

compiliation problem

 
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Could some one help me with location of the following libaries:

import org.jboss.cache.Fqn;
import org.jboss.cache.Node;
import org.jboss.cache.PropertyConfigurator;
import org.jboss.cache.TreeCache;

I tried to compile JForum but those libaries are missing. I downloaded JForum. I could run JForum without having to compile it, but when I tried to compile it I got error because those libaries are missing.

Thanks

[originally posted on jforum.net by Anonymous]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Just delete the class src/net/jforum/cache/JBossCacheEngine.java

Rafael
[originally posted on jforum.net by Rafael Steil]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I got following errors after I have deleted the src/net/jforum/cache/JBossCacheEngine.java

G:\Programs\Tomcat-5\webapps\JForum\src\net\jforum\Command.java:106: warning: non-varargs call of varargs method with inexact argument type for last parameter;
cast to java.lang.Class for a varargs call
cast to java.lang.Class[] for a non-varargs call and to suppress this warning
Class.forName(this.getClass().getName()).getMethod(JForum.getRequest().getAction(), null).invoke(this, null);
G:\Programs\Tomcat-5\webapps\JForum\src\net\jforum\Command.java:106: warning: non-varargs call of varargs method with inexact argument type for last parameter;
cast to java.lang.Object for a varargs call
cast to java.lang.Object[] for a non-varargs call and to suppress this warning
Class.forName(this.getClass().getName()).getMethod(JForum.getRequest().getAction(), null).invoke(this, null);
G:\Programs\Tomcat-5\webapps\JForum\src\net\jforum\drivers\oracle\OracleUtils.java:111: package oracle.sql does not exist
OutputStream blobWriter = ((oracle.sql.BLOB) postText).getBinaryOutputStream();
G:\Programs\Tomcat-5\webapps\JForum\src\net\jforum\util\mail\TopicSpammer.java:99: warning: non-varargs call of varargs method with inexact argument type for last parameter;
cast to java.lang.Object for a varargs call
cast to java.lang.Object[] for a non-varargs call and to suppress this warning
MessageFormat.format(SystemGlobals.getValue(ConfigKeys.MAIL_NEW_ANSWER_SUBJECT), new String[] { topic.getTitle() }),
G:\Programs\Tomcat-5\webapps\JForum\src\net\jforum\view\forum\PostAction.java:778: deleteTopic(int,int,boolean) in net.jforum.view.forum.common.TopicsCommon cannot be applied to (int,int)
TopicsCommon.deleteTopic(p.getTopicId(), p.getForumId());
Note: G:\Programs\Tomcat-5\webapps\JForum\src\net\jforum\ActionServletRequest.java uses or overrides a deprecated API.
2 errors
[originally posted on jforum.net by Anonymous]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Almost all of these are just warning produced by the java 5 compiler. The errors about missing arguments you can fix by reading the topic https://coderanch.com/t/575094

Rafael
[originally posted on jforum.net by Rafael Steil]
 
The overall mission is to change the world. When you've done that, then you can read this tiny ad:
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic