java - Spring application Could not load JDBC driver class [oracle.jdbc.driver.OracleDriver] -


why application not able read class build path? did added ojdbc6.jar in build path of application.

now when kept jar in web-inf/lib directory, worked fine. can please explain why not read project build path.

when add on build path in ide , used compiling code (if there dependency on it).

unless package , deploy on server , server has no reference these files used compilation. when place on web-inf/lib , package , jar file packaged in .war file deployed , hence @ runtime not class missing or driver missing error.


Comments

Popular posts from this blog

amazon web services - S3 Pre-signed POST validate file type? -

c# - Check Keyboard Input Winforms -