Sunday, 15 May 2011

spring - Removing a JAR from deployment -



spring - Removing a JAR from deployment -

i working on spring project on jboss server. facing situation think removing jar deployment may solve issues. want maintain jar in compile time can utilize in classes.

i want know how can remove jar deployment maintain during run time.

probably, not question asked on so, matter of fact, coders , main intention help in solving problem.

so, ? how can ?

if using maven, need mark dependency provided.

for illustration

<dependency> <groupid>log4j</groupid> <artifactid>log4j</artifactid> <version>1.2.17</version> <scope>provided</scope> </dependency>

if using gradle corresponding element providedcompile. code like:

providedcompile 'log4j:log4j:1.2.17'

for eclipse based build, check out this post

spring jboss ear

No comments:

Post a Comment