Forum LAMS Lounge Forum: Problem while building LAMS


 
You may request notification for Problem while building LAMS.
Search: 

1: Problem while building LAMS
05/18/11 03:48 AM
[ Reply | Forward ]
Hi

I am trying to build lams2.3.5 .
I followed this link http://wiki.lamsfoundation.org/display/lams/Building+LAMS .

I am using JBoss 5.1.0 instead of JBoss 4.0.2

I have added all required JAR files.

While building lams_build build fails and shows following errors ...

Buildfile: C:\EclipseWorkspace\lams2.3.5\lams_build\build.xml
clean:
clean-subprojects:
rebuild-db:
preparedirs:
rebuild-db:
[copy] Copying 2 files to C:\EclipseWorkspace\lams2.3.5\lams_common\build
[sql] Executing resource: C:\EclipseWorkspace\lams2.3.5\lams_common\build\create_lams_11_db.sql
[sql] Executing resource: C:\EclipseWorkspace\lams2.3.5\lams_common\db\sql\drop_lams_11_tables.sql
[sql] Executing resource: C:\EclipseWorkspace\lams2.3.5\lams_common\db\sql\create_lams_11_tables.sql
[sql] Executing resource: C:\EclipseWorkspace\lams2.3.5\lams_common\db\sql\create_integration_tables.sql
[sql] Executing resource: C:\EclipseWorkspace\lams2.3.5\lams_common\db\sql\insert_lams_users.sql
[sql] Executing resource: C:\EclipseWorkspace\lams2.3.5\lams_common\db\sql\insert_types_data.sql
[sql] Executing resource: C:\EclipseWorkspace\lams2.3.5\lams_common\build\insert_lams_windows_config_data.sql
[sql] Executing resource: C:\EclipseWorkspace\lams2.3.5\lams_common\db\sql\create_quartz_table.sql
[sql] Executing resource: C:\EclipseWorkspace\lams2.3.5\lams_common\db\sql\create_notebook_tables.sql
[sql] Executing resource: C:\EclipseWorkspace\lams2.3.5\lams_common\db\sql\create_presence_chat_tables.sql
[sql] 667 of 667 SQL statements executed successfully
[delete] Deleting: C:\EclipseWorkspace\lams2.3.5\lams_common\build\create_lams_11_db.sql
init:
[mkdir] Created dir: C:\EclipseWorkspace\lams2.3.5\lams_build\assembly
clean:
[delete] Deleting directory C:\EclipseWorkspace\lams2.3.5\lams_build\assembly
build-subprojects:
preparedirs:
clean:
compile:
[javac] Compiling 378 source files to C:\EclipseWorkspace\lams2.3.5\lams_common\build\classes\java
[javac] C:\EclipseWorkspace\lams2.3.5\lams_common\src\java\org\lamsfoundation\lams\events\DeliveryMethodMail.java:6: package javax.mail does not exist
[javac] import javax.mail.MessagingException;
[javac] ^
[javac] C:\EclipseWorkspace\lams2.3.5\lams_common\src\java\org\lamsfoundation\lams\events\DeliveryMethodMail.java:7: package javax.mail.internet does not exist
[javac] import javax.mail.internet.AddressException;
[javac] ^
[javac] C:\EclipseWorkspace\lams2.3.5\lams_common\src\java\org\lamsfoundation\lams\events\DeliveryMethodMail.java:74: cannot find symbol
[javac] symbol : class AddressException
[javac] location: class org.lamsfoundation.lams.events.DeliveryMethodMail
[javac] public void sendFromSupportEmail(String subject, String to, String body) throws AddressException,
[javac] ^
[javac] C:\EclipseWorkspace\lams2.3.5\lams_common\src\java\org\lamsfoundation\lams\events\DeliveryMethodMail.java:75: cannot find symbol
[javac] symbol : class MessagingException
[javac] location: class org.lamsfoundation.lams.events.DeliveryMethodMail
[javac] MessagingException, UnsupportedEncodingException {
[javac] ^
[javac] C:\EclipseWorkspace\lams2.3.5\lams_common\src\java\org\lamsfoundation\lams\events\DeliveryMethodMail.java:91: cannot find symbol
[javac] symbol : class AddressException
[javac] location: class org.lamsfoundation.lams.events.DeliveryMethodMail
[javac] void notifyAdmin(String subject, String body) throws AddressException, MessagingException, UnsupportedEncodingException {
[javac] ^
[javac] C:\EclipseWorkspace\lams2.3.5\lams_common\src\java\org\lamsfoundation\lams\events\DeliveryMethodMail.java:91: cannot find symbol
[javac] symbol : class MessagingException
[javac] location: class org.lamsfoundation.lams.events.DeliveryMethodMail
[javac] void notifyAdmin(String subject, String body) throws AddressException, MessagingException, UnsupportedEncodingException {
[javac] ^
[javac] C:\EclipseWorkspace\lams2.3.5\lams_common\src\java\org\lamsfoundation\lams\integration\security\LoginRequestValve.java:26: package javax.servlet does not exist
[javac] import javax.servlet.ServletException;
[javac] ^
[javac] C:\EclipseWorkspace\lams2.3.5\lams_common\src\java\org\lamsfoundation\lams\integration\security\LoginRequestValve.java:27: package javax.servlet.http does not exist
[javac] import javax.servlet.http.HttpServletRequest;
[javac] ^
[javac] C:\EclipseWorkspace\lams2.3.5\lams_common\src\java\org\lamsfoundation\lams\integration\security\LoginRequestValve.java:28: package javax.servlet.http does not exist
[javac] import javax.servlet.http.HttpServletResponse;
[javac] ^
[javac] C:\EclipseWorkspace\lams2.3.5\lams_common\src\java\org\lamsfoundation\lams\integration\security\LoginRequestValve.java:29: package javax.servlet.http does not exist
[javac] import javax.servlet.http.HttpSession;
[javac] ^
[javac] C:\EclipseWorkspace\lams2.3.5\lams_common\src\java\org\lamsfoundation\lams\integration\security\LoginRequestValve.java:56: cannot find symbol
[javac] symbol : class ServletException
[javac] location: class org.lamsfoundation.lams.integration.security.LoginRequestValve
[javac] public void invoke(Request request, Response response) throws IOException, ServletException {
[javac] ^
[javac] C:\EclipseWorkspace\lams2.3.5\lams_common\src\java\org\lamsfoundation\lams\integration\security\SingleSignOn.java:28: package javax.servlet does not exist
[javac] import javax.servlet.ServletException;
[javac] ^
[javac] C:\EclipseWorkspace\lams2.3.5\lams_common\src\java\org\lamsfoundation\lams\integration\security\SingleSignOn.java:29: package javax.servlet.http does not exist
[javac] import javax.servlet.http.Cookie;
[javac] ^
[javac] C:\EclipseWorkspace\lams2.3.5\lams_common\src\java\org\lamsfoundation\lams\integration\security\SingleSignOn.java:48: cannot find symbol
[javac] symbol : class ServletException
[javac] location: class org.lamsfoundation.lams.integration.security.SingleSignOn
[javac] public void invoke(Request request, Response response) throws IOException, ServletException {
[javac] ^
[javac] C:\EclipseWorkspace\lams2.3.5\lams_common\src\java\org\lamsfoundation\lams\integration\util\LoginRequestDispatcher.java:27: package javax.servlet.http does not exist
[javac] import javax.servlet.http.HttpServletRequest;
[javac] ^
[javac] C:\EclipseWorkspace\lams2.3.5\lams_common\src\java\org\lamsfoundation\lams\integration\util\LoginRequestDispatcher.java:106: cannot find symbol
[javac] symbol : class HttpServletRequest
[javac] location: class org.lamsfoundation.lams.integration.util.LoginRequestDispatcher
[javac] public static String getRequestURL(HttpServletRequest request) throws ServletException {
[javac] ^
[javac] C:\EclipseWorkspace\lams2.3.5\lams_common\src\java\org\lamsfoundation\lams\integration\util\LoginRequestDispatcher.java:106: cannot find symbol
[javac] symbol : class ServletException
[javac] location: class org.lamsfoundation.lams.integration.util.LoginRequestDispatcher
[javac] public static String getRequestURL(HttpServletRequest request) throws ServletException {
[javac] ^
[javac] C:\EclipseWorkspace\lams2.3.5\lams_common\src\java\org\lamsfoundation\lams\integration\util\LoginRequestDispatcher.java:161: cannot find symbol
[javac] symbol : class HttpServletRequest
[javac] location: class org.lamsfoundation.lams.integration.util.LoginRequestDispatcher
[javac] private static void addUserToLessonClass(HttpServletRequest request, String lessonId, String method)
[javac] ^
[javac] C:\EclipseWorkspace\lams2.3.5\lams_common\src\java\org\lamsfoundation\lams\planner\dto\PedagogicalPlannerSequenceNodeDTO.java:30: package javax.servlet.http does not exist
[javac] import javax.servlet.http.HttpSession;
[javac] ^
[javac] C:\EclipseWorkspace\lams2.3.5\lams_common\src\java\org\lamsfoundation\lams\test\AbstractLamsStrutsTestCase.java:62: cannot find symbol
[javac] symbol : class HttpSession
[javac] location: class org.lamsfoundation.lams.test.AbstractLamsStrutsTestCase
[javac] protected HttpSession httpSession ;
[javac] ^
[javac] C:\EclipseWorkspace\lams2.3.5\lams_common\src\java\org\lamsfoundation\lams\timezone\dto\TimezoneDTO.java:31: warning: sun.util.calendar.CalendarUtils is Sun proprietary API and may be removed in a future release
[javac] import sun.util.calendar.CalendarUtils;
[javac] ^
[javac] C:\EclipseWorkspace\lams2.3.5\lams_common\src\java\org\lamsfoundation\lams\util\Base64StringToImageUtil.java:14: warning: sun.misc.BASE64Decoder is Sun proprietary API and may be removed in a future release
[javac] import sun.misc.BASE64Decoder;
[javac] ^
[javac] C:\EclipseWorkspace\lams2.3.5\lams_common\src\java\org\lamsfoundation\lams\util\ChartUtil.java:31: package javax.servlet.http does not exist
[javac] import javax.servlet.http.HttpServletResponse;
[javac] ^
[javac] C:\EclipseWorkspace\lams2.3.5\lams_common\src\java\org\lamsfoundation\lams\util\ChartUtil.java:58: cannot find symbol
[javac] symbol : class HttpServletResponse
[javac] location: class org.lamsfoundation.lams.util.ChartUtil
[javac] public static void outputPieChart(HttpServletResponse response, OutputStream out, String title, DefaultPieDataset data) throws IOException
[javac] ^
[javac] C:\EclipseWorkspace\lams2.3.5\lams_common\src\java\org\lamsfoundation\lams\util\ChartUtil.java:76: cannot find symbol
[javac] symbol : class HttpServletResponse
[javac] location: class org.lamsfoundation.lams.util.ChartUtil
[javac] public static void outputBarChart( HttpServletResponse response, OutputStream out, String title, DefaultCategoryDataset data,
[javac] ^
[javac] C:\EclipseWorkspace\lams2.3.5\lams_common\src\java\org\lamsfoundation\lams\util\CustomizedOpenSessionInViewFilter.java:41: cannot access javax.servlet.Filter
[javac] class file for javax.servlet.Filter not found
[javac] public class CustomizedOpenSessionInViewFilter extends OpenSessionInViewFilter
[javac] ^
[javac] C:\EclipseWorkspace\lams2.3.5\lams_common\src\java\org\lamsfoundation\lams\util\Emailer.java:6: package javax.mail does not exist
[javac] import javax.mail.Authenticator;
[javac] ^
[javac] C:\EclipseWorkspace\lams2.3.5\lams_common\src\java\org\lamsfoundation\lams\util\Emailer.java:7: package javax.mail does not exist
[javac] import javax.mail.MessagingException;
[javac] ^
[javac] C:\EclipseWorkspace\lams2.3.5\lams_common\src\java\org\lamsfoundation\lams\util\Emailer.java:8: package javax.mail does not exist
[javac] import javax.mail.PasswordAuthentication;
[javac] ^
[javac] C:\EclipseWorkspace\lams2.3.5\lams_common\src\java\org\lamsfoundation\lams\util\Emailer.java:9: package javax.mail does not exist
[javac] import javax.mail.Session;
[javac] ^
[javac] C:\EclipseWorkspace\lams2.3.5\lams_common\src\java\org\lamsfoundation\lams\util\Emailer.java:10: package javax.mail does not exist
[javac] import javax.mail.Transport;
[javac] ^
[javac] C:\EclipseWorkspace\lams2.3.5\lams_common\src\java\org\lamsfoundation\lams\util\Emailer.java:11: package javax.mail.Message does not exist
[javac] import javax.mail.Message.RecipientType;
[javac] ^
[javac] C:\EclipseWorkspace\lams2.3.5\lams_common\src\java\org\lamsfoundation\lams\util\Emailer.java:12: package javax.mail.internet does not exist
[javac] import javax.mail.internet.AddressException;
[javac] ^
[javac] C:\EclipseWorkspace\lams2.3.5\lams_common\src\java\org\lamsfoundation\lams\util\Emailer.java:13: package javax.mail.internet does not exist
[javac] import javax.mail.internet.InternetAddress;
[javac] ^
[javac] C:\EclipseWorkspace\lams2.3.5\lams_common\src\java\org\lamsfoundation\lams\util\Emailer.java:14: package javax.mail.internet does not exist
[javac] import javax.mail.internet.MimeMessage;
[javac] ^
[javac] C:\EclipseWorkspace\lams2.3.5\lams_common\src\java\org\lamsfoundation\lams\util\Emailer.java:39: cannot find symbol
[javac] symbol : class AddressException
[javac] location: class org.lamsfoundation.lams.util.Emailer
[javac] public static void sendFromSupportEmail(String subject, String to, String body) throws AddressException,
[javac] ^
[javac] C:\EclipseWorkspace\lams2.3.5\lams_common\src\java\org\lamsfoundation\lams\util\Emailer.java:40: cannot find symbol
[javac] symbol : class MessagingException
[javac] location: class org.lamsfoundation.lams.util.Emailer
[javac] MessagingException, UnsupportedEncodingException {
[javac] ^
[javac] C:\EclipseWorkspace\lams2.3.5\lams_common\src\java\org\lamsfoundation\lams\util\Emailer.java:53: cannot find symbol
[javac] symbol : class Session
[javac] location: class org.lamsfoundation.lams.util.Emailer
[javac] public static Session getMailSession(Properties properties) {
[javac] ^
[javac] C:\EclipseWorkspace\lams2.3.5\lams_common\src\java\org\lamsfoundation\lams\util\Emailer.java:87: cannot find symbol
[javac] symbol : class AddressException
[javac] location: class org.lamsfoundation.lams.util.Emailer
[javac] throws AddressException, MessagingException, UnsupportedEncodingException {
[javac] ^
[javac] C:\EclipseWorkspace\lams2.3.5\lams_common\src\java\org\lamsfoundation\lams\util\Emailer.java:87: cannot find symbol
[javac] symbol : class MessagingException
[javac] location: class org.lamsfoundation.lams.util.Emailer
[javac] throws AddressException, MessagingException, UnsupportedEncodingException {
[javac] ^
[javac] C:\EclipseWorkspace\lams2.3.5\lams_common\src\java\org\lamsfoundation\lams\util\Emailer.java:111: cannot find symbol
[javac] symbol : class AddressException
[javac] location: class org.lamsfoundation.lams.util.Emailer
[javac] throws AddressException, MessagingException, UnsupportedEncodingException {
[javac] ^
[javac] C:\EclipseWorkspace\lams2.3.5\lams_common\src\java\org\lamsfoundation\lams\util\Emailer.java:111: cannot find symbol
[javac] symbol : class MessagingException
[javac] location: class org.lamsfoundation.lams.util.Emailer
[javac] throws AddressException, MessagingException, UnsupportedEncodingException {
[javac] ^
[javac] C:\EclipseWorkspace\lams2.3.5\lams_common\src\java\org\lamsfoundation\lams\util\FileUtil.java:43: package javax.mail.internet does not exist
[javac] import javax.mail.internet.MimeUtility;
[javac] ^
[javac] C:\EclipseWorkspace\lams2.3.5\lams_common\src\java\org\lamsfoundation\lams\util\FileUtil.java:692: cannot find symbol
[javac] symbol : class HttpServletRequest
[javac] location: class org.lamsfoundation.lams.util.FileUtil
[javac] public static String encodeFilenameForDownload(HttpServletRequest request,
[javac] ^
[javac] C:\EclipseWorkspace\lams2.3.5\lams_common\src\java\org\lamsfoundation\lams\util\FileValidatorUtil.java:80: cannot find symbol
[javac] symbol : class HttpServletRequest
[javac] location: class org.lamsfoundation.lams.util.FileValidatorUtil
[javac] HttpServletRequest request) {
[javac] ^
[javac] C:\EclipseWorkspace\lams2.3.5\lams_common\src\java\org\lamsfoundation\lams\util\HttpUrlConnectionUtil.java:73: cannot find symbol
[javac] symbol : class Cookie
[javac] location: class org.lamsfoundation.lams.util.HttpUrlConnectionUtil
[javac] public static int writeResponseToStream(String urlToConnectTo, OutputStream outStream, Cookie[] cookies)
[javac] ^
[javac] C:\EclipseWorkspace\lams2.3.5\lams_common\src\java\org\lamsfoundation\lams\util\HttpUrlConnectionUtil.java:135: cannot find symbol
[javac] symbol : class Cookie
[javac] location: class org.lamsfoundation.lams.util.HttpUrlConnectionUtil
[javac] public static int writeResponseToFile(String urlToConnectTo, String directoryToStoreFile, String filename, Cookie[] cookies)
[javac] ^
[javac] C:\EclipseWorkspace\lams2.3.5\lams_common\src\java\org\lamsfoundation\lams\util\HttpUrlConnectionUtil.java:194: cannot find symbol
[javac] symbol : class Cookie
[javac] location: class org.lamsfoundation.lams.util.HttpUrlConnectionUtil
[javac] public static String connectToToolExportURL(String toolsExportUrl, Cookie[] cookies)
[javac] ^
[javac] C:\EclipseWorkspace\lams2.3.5\lams_common\src\java\org\lamsfoundation\lams\util\HttpUrlConnectionUtil.java:258: cannot find symbol
[javac] symbol : class Cookie
[javac] location: class org.lamsfoundation.lams.util.HttpUrlConnectionUtil
[javac] private static String getCookieString(Cookie[] cookies)
[javac] ^
[javac] C:\EclipseWorkspace\lams2.3.5\lams_common\src\java\org\lamsfoundation\lams\util\LanguageUtil.java:32: package javax.servlet does not exist
[javac] import javax.servlet.ServletContext;
[javac] ^
[javac] C:\EclipseWorkspace\lams2.3.5\lams_common\src\java\org\lamsfoundation\lams\util\UploadFileUtil.java:59: cannot find symbol
[javac] symbol : class HttpServletRequest
[javac] location: class org.lamsfoundation.lams.util.UploadFileUtil
[javac] public static List getUploadItems(HttpServletRequest request, boolean useLargeFileSize )
[javac] ^
[javac] C:\EclipseWorkspace\lams2.3.5\lams_common\src\java\org\lamsfoundation\lams\util\UploadFileUtil.java:73: cannot find symbol
[javac] symbol : class HttpServletRequest
[javac] location: class org.lamsfoundation.lams.util.UploadFileUtil
[javac] public static List getUploadItems(HttpServletRequest request, boolean useLargeFileSize, String tempDirNameInput)
[javac] ^
[javac] C:\EclipseWorkspace\lams2.3.5\lams_common\src\java\org\lamsfoundation\lams\util\WebUtil.java:45: cannot find symbol
[javac] symbol : class HttpServletRequest
[javac] location: class org.lamsfoundation.lams.util.WebUtil
[javac] public static boolean isTokenValid(HttpServletRequest req, String tokenName) {
[javac] ^
[javac] C:\EclipseWorkspace\lams2.3.5\lams_common\src\java\org\lamsfoundation\lams\util\WebUtil.java:62: cannot find symbol
[javac] symbol : class HttpServletRequest
[javac] location: class org.lamsfoundation.lams.util.WebUtil
[javac] public static void saveTaskURL(HttpServletRequest req, String[] urls) {
[javac] ^
[javac] C:\EclipseWorkspace\lams2.3.5\lams_common\src\java\org\lamsfoundation\lams\util\WebUtil.java:75: cannot find symbol
[javac] symbol : class HttpServletRequest
[javac] location: class org.lamsfoundation.lams.util.WebUtil
[javac] public static void saveToken(HttpServletRequest req, String tokenName, String tokenValue) {
[javac] ^
[javac] C:\EclipseWorkspace\lams2.3.5\lams_common\src\java\org\lamsfoundation\lams\util\WebUtil.java:86: cannot find symbol
[javac] symbol : class HttpServletRequest
[javac] location: class org.lamsfoundation.lams.util.WebUtil
[javac] public static String retrieveToken(HttpServletRequest req, String tokenName) {
[javac] ^
[javac] C:\EclipseWorkspace\lams2.3.5\lams_common\src\java\org\lamsfoundation\lams\util\WebUtil.java:92: cannot find symbol
[javac] symbol : class HttpServletRequest
[javac] location: class org.lamsfoundation.lams.util.WebUtil
[javac] public static void resetToken(HttpServletRequest req, String tokenName) {
[javac] ^
[javac] C:\EclipseWorkspace\lams2.3.5\lams_common\src\java\org\lamsfoundation\lams\util\WebUtil.java:182: cannot find symbol
[javac] symbol : class HttpServletRequest
[javac] location: class org.lamsfoundation.lams.util.WebUtil
[javac] public static int readIntParam(HttpServletRequest req, String paramName) {
[javac] ^
[javac] C:\EclipseWorkspace\lams2.3.5\lams_common\src\java\org\lamsfoundation\lams\util\WebUtil.java:194: cannot find symbol
[javac] symbol : class HttpServletRequest
[javac] location: class org.lamsfoundation.lams.util.WebUtil
[javac] public static Integer readIntParam(HttpServletRequest req, String paramName, boolean isOptional) {
[javac] ^
[javac] C:\EclipseWorkspace\lams2.3.5\lams_common\src\java\org\lamsfoundation\lams\util\WebUtil.java:205: cannot find symbol
[javac] symbol : class HttpServletRequest
[javac] location: class org.lamsfoundation.lams.util.WebUtil
[javac] public static long readLongParam(HttpServletRequest req, String paramName) {
[javac] ^
[javac] C:\EclipseWorkspace\lams2.3.5\lams_common\src\java\org\lamsfoundation\lams\util\WebUtil.java:217: cannot find symbol
[javac] symbol : class HttpServletRequest
[javac] location: class org.lamsfoundation.lams.util.WebUtil
[javac] public static Long readLongParam(HttpServletRequest req, String paramName, boolean isOptional) {
[javac] ^
[javac] C:\EclipseWorkspace\lams2.3.5\lams_common\src\java\org\lamsfoundation\lams\util\WebUtil.java:226: cannot find symbol
[javac] symbol : class HttpServletRequest
[javac] location: class org.lamsfoundation.lams.util.WebUtil
[javac] public static String readStrParam(HttpServletRequest req, String paramName) {
[javac] ^
[javac] C:\EclipseWorkspace\lams2.3.5\lams_common\src\java\org\lamsfoundation\lams\util\WebUtil.java:236: cannot find symbol
[javac] symbol : class HttpServletRequest
[javac] location: class org.lamsfoundation.lams.util.WebUtil
[javac] public static String readStrParam(HttpServletRequest req, String paramName, boolean isOptional) {
[javac] ^
[javac] C:\EclipseWorkspace\lams2.3.5\lams_common\src\java\org\lamsfoundation\lams\util\WebUtil.java:250: cannot find symbol
[javac] symbol : class HttpServletRequest
[javac] location: class org.lamsfoundation.lams.util.WebUtil
[javac] public static boolean readBooleanParam(HttpServletRequest req, String paramName) throws IllegalArgumentException {
[javac] ^
[javac] C:\EclipseWorkspace\lams2.3.5\lams_common\src\java\org\lamsfoundation\lams\util\WebUtil.java:261: cannot find symbol
[javac] symbol : class HttpServletRequest
[javac] location: class org.lamsfoundation.lams.util.WebUtil
[javac] public static boolean readBooleanParam(HttpServletRequest req, String paramName, boolean defaultValue) {
[javac] ^
[javac] C:\EclipseWorkspace\lams2.3.5\lams_common\src\java\org\lamsfoundation\lams\util\WebUtil.java:269: cannot find symbol
[javac] symbol : class HttpServletRequest
[javac] location: class org.lamsfoundation.lams.util.WebUtil
[javac] public static boolean readBooleanAttr(HttpServletRequest req, String attrName) {
[javac] ^
[javac] C:\EclipseWorkspace\lams2.3.5\lams_common\src\java\org\lamsfoundation\lams\util\WebUtil.java:280: cannot find symbol
[javac] symbol : class HttpServletRequest
[javac] location: class org.lamsfoundation.lams.util.WebUtil
[javac] public static String getUsername(HttpServletRequest req, boolean isTesting) throws RuntimeException {
[javac] ^
[javac] C:\EclipseWorkspace\lams2.3.5\lams_common\src\java\org\lamsfoundation\lams\util\WebUtil.java:310: cannot find symbol
[javac] symbol : class HttpServletRequest
[javac] location: class org.lamsfoundation.lams.util.WebUtil
[javac] public static ToolAccessMode readToolAccessModeParam(HttpServletRequest request, String param_mode, boolean optional) {
[javac] ^
[javac] C:\EclipseWorkspace\lams2.3.5\lams_common\src\java\org\lamsfoundation\lams\web\action\LamsAction.java:55: cannot find symbol
[javac] symbol : class HttpServletRequest
[javac] location: class org.lamsfoundation.lams.web.action.LamsAction
[javac] protected void resetToken(HttpServletRequest request) {
[javac] ^
[javac] C:\EclipseWorkspace\lams2.3.5\lams_common\src\java\org\lamsfoundation\lams\web\util\TokenProcessor.java:85: cannot find symbol
[javac] symbol : class HttpSession
[javac] location: class org.lamsfoundation.lams.web.util.TokenProcessor
[javac] private HashMap getTokens(HttpSession session) {
[javac] ^
[javac] C:\EclipseWorkspace\lams2.3.5\lams_common\src\java\org\lamsfoundation\lams\web\util\TokenProcessor.java:93: cannot find symbol
[javac] symbol : class HttpSession
[javac] location: class org.lamsfoundation.lams.web.util.TokenProcessor
[javac] private void setTokens(HttpSession session, HashMap tokens) {
[javac] ^
[javac] C:\EclipseWorkspace\lams2.3.5\lams_common\src\java\org\lamsfoundation\lams\web\util\TokenProcessor.java:100: cannot find symbol
[javac] symbol : class HttpServletRequest
[javac] location: class org.lamsfoundation.lams.web.util.TokenProcessor
[javac] private String getTokenFromRequest(HttpServletRequest request) {
[javac] ^
[javac] C:\EclipseWorkspace\lams2.3.5\lams_common\src\java\org\lamsfoundation\lams\web\util\TokenProcessor.java:108: cannot find symbol
[javac] symbol : class HttpServletRequest
[javac] location: class org.lamsfoundation.lams.web.util.TokenProcessor
[javac] private void setTokenInRequest(HttpServletRequest request, String token) {
[javac] ^
[javac] C:\EclipseWorkspace\lams2.3.5\lams_common\src\java\org\lamsfoundation\lams\web\util\TokenProcessor.java:115: cannot find symbol
[javac] symbol : class HttpSession
[javac] location: class org.lamsfoundation.lams.web.util.TokenProcessor
[javac] private HashMap getForwards(HttpSession session) {
[javac] ^
[javac] C:\EclipseWorkspace\lams2.3.5\lams_common\src\java\org\lamsfoundation\lams\web\util\TokenProcessor.java:123: cannot find symbol
[javac] symbol : class HttpSession
[javac] location: class org.lamsfoundation.lams.web.util.TokenProcessor
[javac] private void setForwards(HttpSession session, HashMap forwards) {
[javac] ^
[javac] C:\EclipseWorkspace\lams2.3.5\lams_common\src\java\org\lamsfoundation\lams\web\util\TokenProcessor.java:140: cannot find symbol
[javac] symbol : class HttpServletRequest
[javac] location: class org.lamsfoundation.lams.web.util.TokenProcessor
[javac] public synchronized boolean isTokenValid(HttpServletRequest request) {
[javac] ^
[javac] C:\EclipseWorkspace\lams2.3.5\lams_common\src\java\org\lamsfoundation\lams\web\util\TokenProcessor.java:159: cannot find symbol
[javac] symbol : class HttpServletRequest
[javac] location: class org.lamsfoundation.lams.web.util.TokenProcessor
[javac] HttpServletRequest request,
[javac] ^
[javac] C:\EclipseWorkspace\lams2.3.5\lams_common\src\java\org\lamsfoundation\lams\web\util\TokenProcessor.java:195: cannot find symbol
[javac] symbol : class HttpServletRequest
[javac] location: class org.lamsfoundation.lams.web.util.TokenProcessor
[javac] public synchronized void resetToken(HttpServletRequest request) {
[javac] ^
[javac] C:\EclipseWorkspace\lams2.3.5\lams_common\src\java\org\lamsfoundation\lams\web\util\TokenProcessor.java:215: cannot find symbol
[javac] symbol : class HttpServletRequest
[javac] location: class org.lamsfoundation.lams.web.util.TokenProcessor
[javac] public synchronized void saveToken(HttpServletRequest request) {
[javac] ^
[javac] C:\EclipseWorkspace\lams2.3.5\lams_common\src\java\org\lamsfoundation\lams\web\util\TokenProcessor.java:237: cannot find symbol
[javac] symbol : class HttpServletRequest
[javac] location: class org.lamsfoundation.lams.web.util.TokenProcessor
[javac] public synchronized String generateToken(HttpServletRequest request) {
[javac] ^
[javac] C:\EclipseWorkspace\lams2.3.5\lams_common\src\java\org\lamsfoundation\lams\web\action\LamsDispatchAction.java:64: cannot find symbol
[javac] symbol : class HttpServletRequest
[javac] location: class org.lamsfoundation.lams.web.action.LamsDispatchAction
[javac] protected void resetToken(HttpServletRequest request) {
[javac] ^
[javac] C:\EclipseWorkspace\lams2.3.5\lams_common\src\java\org\lamsfoundation\lams\web\action\LamsDispatchAction.java:68: cannot find symbol
[javac] symbol : class HttpServletResponse
[javac] location: class org.lamsfoundation.lams.web.action.LamsDispatchAction
[javac] protected void writeAJAXResponse(HttpServletResponse response, String output) throws IOException {
[javac] ^
[javac] C:\EclipseWorkspace\lams2.3.5\lams_common\src\java\org\lamsfoundation\lams\web\action\LamsDispatchAction.java:78: cannot find symbol
[javac] symbol : class HttpServletResponse
[javac] location: class org.lamsfoundation.lams.web.action.LamsDispatchAction
[javac] protected void writeAJAXOKResponse(HttpServletResponse response) throws IOException {
[javac] ^
[javac] C:\EclipseWorkspace\lams2.3.5\lams_common\src\java\org\lamsfoundation\lams\web\action\LamsDispatchAction.java:82: cannot find symbol
[javac] symbol : class HttpServletResponse
[javac] location: class org.lamsfoundation.lams.web.action.LamsDispatchAction
[javac] protected void writeResponse(HttpServletResponse response, String contentType, String characterEncoding, String output) throws IOException {
[javac] ^
[javac] C:\EclipseWorkspace\lams2.3.5\lams_common\src\java\org\lamsfoundation\lams\web\action\LamsLookupDispatchAction.java:62: cannot find symbol
[javac] symbol : class HttpServletRequest
[javac] location: class org.lamsfoundation.lams.web.action.LamsLookupDispatchAction
[javac] protected void resetToken(HttpServletRequest request) {
[javac] ^
[javac] C:\EclipseWorkspace\lams2.3.5\lams_common\src\java\org\lamsfoundation\lams\web\filter\LocaleFilter.java:30: package javax.servlet does not exist
[javac] import javax.servlet.FilterChain;
[javac] ^
[javac] C:\EclipseWorkspace\lams2.3.5\lams_common\src\java\org\lamsfoundation\lams\web\filter\LocaleFilter.java:74: cannot find symbol
[javac] symbol : class HttpServletRequest
[javac] location: class org.lamsfoundation.lams.web.filter.LocaleFilter
[javac] public void doFilterInternal(HttpServletRequest request, HttpServletResponse response, FilterChain chain)
[javac] ^
[javac] C:\EclipseWorkspace\lams2.3.5\lams_common\src\java\org\lamsfoundation\lams\web\filter\LocaleFilter.java:74: cannot find symbol
[javac] symbol : class HttpServletResponse
[javac] location: class org.lamsfoundation.lams.web.filter.LocaleFilter
[javac] public void doFilterInternal(HttpServletRequest request, HttpServletResponse response, FilterChain chain)
[javac] ^
[javac] C:\EclipseWorkspace\lams2.3.5\lams_common\src\java\org\lamsfoundation\lams\web\filter\LocaleFilter.java:74: cannot find symbol
[javac] symbol : class FilterChain
[javac] location: class org.lamsfoundation.lams.web.filter.LocaleFilter
[javac] public void doFilterInternal(HttpServletRequest request, HttpServletResponse response, FilterChain chain)
[javac] ^
[javac] C:\EclipseWorkspace\lams2.3.5\lams_common\src\java\org\lamsfoundation\lams\web\filter\LocaleFilter.java:75: cannot find symbol
[javac] symbol : class ServletException
[javac] location: class org.lamsfoundation.lams.web.filter.LocaleFilter
[javac] throws IOException, ServletException {
[javac] ^
[javac] C:\EclipseWorkspace\lams2.3.5\lams_common\src\java\org\lamsfoundation\lams\web\filter\LocaleRequestWrapper.java:32: package javax.servlet.http does not exist
[javac] import javax.servlet.http.HttpServletRequestWrapper;
[javac] ^
[javac] C:\EclipseWorkspace\lams2.3.5\lams_common\src\java\org\lamsfoundation\lams\web\filter\LocaleRequestWrapper.java:41: cannot find symbol
[javac] symbol: class HttpServletRequestWrapper
[javac] public class LocaleRequestWrapper extends HttpServletRequestWrapper {
[javac] ^
[javac] C:\EclipseWorkspace\lams2.3.5\lams_common\src\java\org\lamsfoundation\lams\web\filter\LocaleRequestWrapper.java:46: cannot find symbol
[javac] symbol : class HttpServletRequest
[javac] location: class org.lamsfoundation.lams.web.filter.LocaleRequestWrapper
[javac] public LocaleRequestWrapper(HttpServletRequest decorated, Locale userLocale) {
[javac] ^
[javac] C:\EclipseWorkspace\lams2.3.5\lams_common\src\java\org\lamsfoundation\lams\web\filter\ResponseCaptureFilter.java:32: cannot find symbol
[javac] symbol : class FilterConfig
[javac] location: package javax.servlet
[javac] import javax.servlet.FilterConfig;
[javac] ^
[javac] C:\EclipseWorkspace\lams2.3.5\lams_common\src\java\org\lamsfoundation\lams\web\filter\ResponseCaptureFilter.java:34: cannot find symbol
[javac] symbol : class ServletRequest
[javac] location: package javax.servlet
[javac] import javax.servlet.ServletRequest;
[javac] ^
[javac] C:\EclipseWorkspace\lams2.3.5\lams_common\src\java\org\lamsfoundation\lams\web\filter\ResponseCaptureFilter.java:35: cannot find symbol
[javac] symbol : class ServletResponse
[javac] location: package javax.servlet
[javac] import javax.servlet.ServletResponse;
[javac] ^
[javac] C:\EclipseWorkspace\lams2.3.5\lams_common\src\java\org\lamsfoundation\lams\web\filter\ResponseCaptureFilter.java:54: cannot find symbol
[javac] symbol: class Filter
[javac] public class ResponseCaptureFilter implements Filter
[javac] ^
[javac] C:\EclipseWorkspace\lams2.3.5\lams_common\src\java\org\lamsfoundation\lams\web\filter\ResponseCaptureFilter.java:59: cannot find symbol
[javac] symbol : class FilterConfig
[javac] location: class org.lamsfoundation.lams.web.filter.ResponseCaptureFilter
[javac] public void init(FilterConfig config) throws ServletException
[javac] ^
[javac] C:\EclipseWorkspace\lams2.3.5\lams_common\src\java\org\lamsfoundation\lams\web\filter\ResponseCaptureFilter.java:59: cannot find symbol
[javac] symbol : class ServletException
[javac] location: class org.lamsfoundation.lams.web.filter.ResponseCaptureFilter
[javac] public void init(FilterConfig config) throws ServletException
[javac] ^
[javac] C:\EclipseWorkspace\lams2.3.5\lams_common\src\java\org\lamsfoundation\lams\web\filter\ResponseCaptureFilter.java:64: cannot find symbol
[javac] symbol : class ServletRequest
[javac] location: class org.lamsfoundation.lams.web.filter.ResponseCaptureFilter
[javac] public void doFilter(ServletRequest request,
[javac] ^
[javac] C:\EclipseWorkspace\lams2.3.5\lams_common\src\java\org\lamsfoundation\lams\web\filter\ResponseCaptureFilter.java:65: cannot find symbol
[javac] symbol : class ServletResponse
[javac] location: class org.lamsfoundation.lams.web.filter.ResponseCaptureFilter
[javac] ServletResponse response,
[javac] ^
[javac] C:\EclipseWorkspace\lams2.3.5\lams_common\src\java\org\lamsfoundation\lams\web\filter\ResponseCaptureFilter.java:66: cannot find symbol
[javac] symbol : class FilterChain
[javac] location: class org.lamsfoundation.lams.web.filter.ResponseCaptureFilter
[javac] FilterChain chain) throws IOException, ServletException
[javac] ^
[javac] C:\EclipseWorkspace\lams2.3.5\lams_common\src\java\org\lamsfoundation\lams\web\util\CustomStrutsExceptionHandler.java:29: warning: [deprecation] java.io.StringBufferInputStream in java.io has been deprecated
[javac] import java.io.StringBufferInputStream;
[javac] ^
[javac] C:\EclipseWorkspace\lams2.3.5\lams_common\src\java\org\lamsfoundation\lams\util\Base64StringToImageUtil.java:24: warning: sun.misc.BASE64Decoder is Sun proprietary API and may be removed in a future release
[javac] BASE64Decoder decoder = new BASE64Decoder();
[javac] ^
[javac] C:\EclipseWorkspace\lams2.3.5\lams_common\src\java\org\lamsfoundation\lams\util\Base64StringToImageUtil.java:24: warning: sun.misc.BASE64Decoder is Sun proprietary API and may be removed in a future release
[javac] BASE64Decoder decoder = new BASE64Decoder();
[javac] ^

BUILD FAILED
C:\EclipseWorkspace\lams2.3.5\lams_build\build.xml:50: The following error occurred while executing this line:
C:\EclipseWorkspace\lams2.3.5\lams_common\build.xml:168: Compile failed; see the compiler error output for details.

Total time: 33 seconds

Posted by Sunil Natikar

2: Re: Problem while building LAMS
In response to 1 05/18/11 03:56 AM
[ Reply | Forward ]
Hi Sunil,

It won't work.

If you are using LAMS 2.3.x you must use JBoss-4.0.2, otherwise this won't work.

If you must use JBoss-5.1, make sure you use LAMS 2.4 http://wiki.lamsfoundation.org/display/lams/Building+LAMS+2.4 You can get the code from CVS HEAD.

Ernie

Posted by Ernie Ghiglione

Reply to first post on this page
Back to LAMS Lounge Forum