0
votes

Working on a Dynamic Web Project I added a guava jar file to Deployment Assembly (Eclipse Photon) - thru Add -> Java Path Build Entry (same happens with Add -> Archives From File System)

enter image description here

I see that this jar gets deployed to the server and is actually inside /WEB-INF/lib of the generated and deployed WAR.

But my Project Explorer window looks like this and its WebContent/WEB-INF/lib folder is empty (I did project refresh)!

Is it normal behaviour?

In my opinion it breaks Least Astonishment Principle a lot!

jars

1
Does it? You didn't copy the jar into your workspace. - nitind

1 Answers

0
votes

It shouldn't appear there unless you actually copy the jar into the workspace (or link it, possibly).