p2p.wrox.com Forums

p2p.wrox.com Forums (http://p2p.wrox.com/index.php)
-   JSP Basics (http://p2p.wrox.com/forumdisplay.php?f=92)
-   -   How to include 2 version of jar in project (http://p2p.wrox.com/showthread.php?t=88134)

lonas August 1st, 2012 02:27 PM

How to include 2 version of jar in project
I'm developing small app in jsp using eclipse.

Can You please tell me how I can include 2 version of jar in one project (this are old and new version of same jar)

I need in one project connect to old and new system and I need both jars - but they have same methods etc so I created 2 projects where first is dynamic web projects with jars in WEB/lib and second project is normal java project where I added jars to project.

I added second proj to first and I can use class from second one in first (there is no error in eclipse) but when I try to run app I have error on place where I'm creating object from second class.

Thanks in advance

dvohra09 November 13th, 2013 11:32 AM

Two versions of the same JAR cannot be used as the class versions shall be different. Add the latest version.

All times are GMT -4. The time now is 03:17 AM.

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.