Web4j App & Eclipse

104 views
Skip to first unread message

Roger

unread,
Oct 29, 2014, 1:00:04 PM10/29/14
to web4j...@googlegroups.com
I was trying to make the electricity tracker application run in Eclipse. So, I followed this guideline:


What I did was I created a dynamic project in Eclipse, pointed to all the required jars files and imported the file structure into Eclipse under "WebContent" along with all the compiled .class files (compiled from command line). I tried to keep the file structure exactly the same.

electricity
  WebContent
    main
    WEB-INF
      classes
        hirondelle
          electricity
          web4j
            config
      tags
      tlds
      tomcat

I was able to see the very first page with this URL:

But I kept getting a 404 error when I clicked on the spending page:

I turned the logging on. But logging did not work in Eclipse for some reasons. But it worked when I followed the Web4j tutorial and ran the app from command line without an IDE. 

Is this the right approach?

Thanks,

Roger

grant forrest

unread,
Oct 24, 2015, 9:09:44 PM10/24/15
to web4j-users
Hi Roger - Did you manage to get this to work? Running into similar problems..

Cheers

Grant
Reply all
Reply to author
Forward
0 new messages