Hi all,
I'm building a web application project for a webpage. I'm building basic functionality such as page logic and a login system.
I've developed a login system with jdbc in a seperate eclipse project as a version 1.0. I'd like use the code from the login system by creating a dependency or importing a jar file to aid in code reuse rather than copying and pasting the code and having multiple versions in different projects.
I have exporting the code for the login system to a jar. I have imported it. Previously, I created a dependency on the other project. I'm having no luck though. I keep getting a NoClassDefFoundError. This suggests it was available at compile time but not runtime. I'm aware that I need the class in the web-inf\lib folder but this process does not resolve the issue. I'm not entirely sure I'm exporting or reusing the code in the correct way.
I'm really struggling to resolve this and it is an area of weakness for myself. I'd like to persist and solve this to really development work in future.
Any advice on how to resolve this build path or import problem would be fantastic.
Regards,
Luke
---------- Post added at 09:43 PM ---------- Previous post was at 08:17 PM ----------
Fixed this. It has took me over a week, but I found a useful site suggesting to change the deployment assembly options so that items in the build path are deployed correctly on build.
Really delighted this works now. I assumed it was automatic after I had added the jar to the build path.
Register and join over 40,000 other developers!
Recent Topics
-
Print specific values from dictionary with a specific key name
Siten0308 - Jun 20 2019 01:43 PM
-
Learn algorithms and programming concepts
johnnylo - Apr 23 2019 07:49 AM
-
Job Gig PHP Form Needed
PJohnson - Apr 18 2019 03:55 AM
-
How to make code run differently depending on the platform it is running on?
xarzu - Apr 05 2019 09:17 AM
-
How do I set a breakpoint in an attached process in visual studio
xarzu - Apr 04 2019 11:47 AM
Recent Blog Entries
Recent Status Updates
Popular Tags
- networking
- Managed C++
- stream
- console
- database
- authentication
- Visual Basic 4 / 5 / 6
- session
- Connection
- asp.net
- import
- syntax
- hardware
- html5
- array
- mysql
- java
- php
- c++
- string
- C#
- html
- loop
- timer
- jquery
- ajax
- javascript
- programming
- android
- css
- assembly
- c
- form
- vb.net
- xml
- linked list
- login
- encryption
- pseudocode
- calculator
- sql
- python
- setup
- help
- game
- combobox
- binary
- hello world
- grid
- innerHTML

Importing User Project Code (Web Application Project)
Started by LukeyJ, Dec 29 2011 01:43 PM
runtime import
No replies to this topic
#1
Posted 29 December 2011 - 01:43 PM
Also tagged with one or more of these keywords: runtime, import
![]() Importing data to python program from excelStarted by thunderspeed, 24 Oct 2014 ![]() |
|
![]() |
||
![]() Runtime of printf() functionStarted by Anshdeb, 20 Apr 2014 ![]() |
|
![]() |
||
![]() Importing Mysql File into new DatabaseStarted by Pally, 19 Aug 2013 ![]() |
|
![]() |
||
Language Forums →
C and C++ →
C++, import images & canvas!Started by <Java>, 21 Mar 2013 ![]() |
|
![]() |
||
Language Forums →
PHP →
Developing website (IMPORTANT & URGENT)Started by Nematullah, 21 Jan 2013 ![]() |
|
![]() |
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download