會員註冊 /
登入
|
電腦版
|
Developer Forum
»
Error in the Source Code of Jforum 2.3.5
發表人:
andowson
10 年 前
Please remove that method getParameterNames() from WebRequestContext.java, and build it again.
發表人:
andowson
10 年 前
Sorry, are you using JDK8? Try switching to build with JDK7 and add back that methods.
BTW, version 2.4.x is more secure than any previous version, so you can also download the latest code from SVN trunk.
Yes, I'm using JDK8. Does Jforum 2.4.0 support JDK8?
Hi, I downloaded jForum 2.4.0 from SVN and tried to build it in my NetBeans IDE v8.0. It seems more errors exist in Jforum 2.4.0 than Jforum 2.3.5. I have been stuck on this problem for 1 month. Could you please send me the source code of either jForum 2.3.5 or jForum 2.4.0 which can be successfully run in NetBeans please? My email address is drake@yvntech.com. Thanks in advcance!!
發表人:
andowson
10 年 前
Hi, sorry that JForum 2.4.0 can't be compiled with JDK8 right now.
JDK8 introduces many new features and deprecates some methods, this will cause a lot of conversion work.
And we keep the minimum system requirement of Java 6.
I'd suggest you switch back to JDK 7 for compile JForum 2.3.x or 2.4.x.
Your days will be much happier.
BTW, I use eclipse to build JForum, so I don't have the source code for NetBeans. And all source code is published on googlecode svn.
Hi, does jforum 2 support glassfish?
Hi, I have switched the JDK 1.8 back to JDK 1.7.0_75, but the problem still exists. Could you please try to build jforum using glassfish server in the Netbeans IDE v8.0 to what happens? Please help me out. Thx in advance.
Hi, I downloaded the source code from your SVG via http://jforum2.googlecode.com/svn/trunk/. But I found there is no "install.jsp" and "index.jsp" files. How can I get these two files for jForum 2.4.0?
發表人:
andowson
10 年 前
JForum 2.3.x and later uses maven as build tool, you can follow the maven directory structure and find the two files under /src/main/webapp
http://jforum2.googlecode.com/svn/trunk/src/main/webapp/
This URL maybe help for usgin Maven in NetBeans:
https://netbeans.org/kb/docs/javaee/maven-entapp.html
Hi, I thank you for your help. I have set up the jforum 2.4.0 source code in Netbeans IDE. But when I try to build it. The same error occurs as it does in jforum2.3.5:
"getParameterNames() in WebRequestContext cannot implement getParameterNames() in ServletRequest
public Enumeration<Object> getParameterNames() {
return type Enumeration<Object> is not compatible with Enumeration<String>"
I can run the project and access the main page of jforum and use normal account to post or reply topics. However, there is still some problem when I use Admin account (The same problem as in jforum 2.3.5, please see the screenshot in my first post).
The weard thing is, if I use the war file. Everything is fine. Is there no one else having the problem as I do? Could you help me out of this please?
發表人:
andowson
10 年 前
All right, finally, I did download and install NetBeans IDE and build JForum with NetBeans IDE.
I checkout the latest source code from svn trunk, and without modifing any code, I can build JForum successfully.
So I suggest you clean up your workspace and download from svn again.
檔案名稱 |
Build JForum with NetBeans IDE.docx |
描述 |
Build JForum with NetBeans IDE |
檔案大小 |
1099 Kbytes
|
下載次數 |
66097 次 |
下載
|
Hi mate, it works!!!!!! It seems it's the way I retrieved the code through your SVN was incorrect that cause that error. Thx heaps!!
Now I'm going to do some testing of the jforum. May I ask is there any good ways to test jforum's capacity when in a large volumn of posts scenario?
Kind Regards
drake
Hi mate, how could I integrate the jforum into my existing project? For instance, I have a website project which is using the URL address www.hello.com.au (just a example). How could I access jforum through URL: www.hello.com.au/jforum? Because I'm building all the projects in Netbeans, do you have related solutions for me? Thanks in advance.
會員註冊 /
登入
|
電腦版
|