Commons-beanutils missing from generated war


(Tony Nelson) #1

I have a simple webapp that uses commons-beanutils 1.8.3. It runs fine under jetty, but when I build a war and deploy it to tomcat, commons-beanutils isn’t included in the war. Is it marked as providedCompile or providedRuntime? I have a very simple dependency on it:

compile 'commons-beanutils:commons-beanutils:1.8.3'

Any suggestions on what I can do to convince the war plugin to include commons-beanutils in my war file would be greatly appreciated.

I’m using 1.0-milestone-6 via the wrapper.


(Tony Nelson) #2

It seems that rm -rf .gradle ~/m2/.repository and a clean build fixed this.