Skip to content

Trouble with the Android web application tutorial for Atjeews  #2

@flipskills25

Description

@flipskills25

I followed the tutorial that was provided in Creation web application for Atjeews.docx, using the jasper.jar, and servlet.jar files located in the TJWS source from http://sourceforge.net/projects/tjws/files/, 1.112 Release for the bee-dexwar.xml.

I generate the .war file with the JSP's precompiled just fine, but when I deploy the war to my actual Android device (Samsung Galaxy Note 10.1 2014 Edition, running KitKat 4.4.2) to the /sdcard/atjeews/webapps location, start up Atjeews, and I try to access mycontacts, I get the error:

500 org.apache.jasper.JasperException: java.lang.ClassNotFoundException: org.apache.jsp.mycontacts_jsp

Copied everything from the tutorial as is aside from the lines that I edited in the bee-dexwar.xml:

<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE bee PUBLIC "-//Dmitriy Rogatkin//DTD Bee Project Builder 1.0//EN"
    "http://knitknot.info/DTD/bee.dtd" [
      <!ENTITY android_sdk "C:\Users\[username]\AppData\Local\Android\sdk">
      <!ENTITY jasper_lib "C:\WebServer-1112\WebServer\lib\jasper.jar">
      <!ENTITY servlet_lib "C:\WebServer-1112\WebServer\lib\servlet.jar">
      <!ENTITY target "21.0.0">
]>
<!-- $Id: bee-dexwar.xml,v 1.13 2012/09/15 17:48:30 dmitriy Exp $ Prepare 
    war file for Android deployment Copyright (c) Dmitriy Rogatkin -->
<bee name="dexer" type="script">
    <variable name="dx path">&android_sdk;/build-tools/&target;/lib/dx.jar</variable>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions