I have a web application using spring extensivley annotations, and I have my proguard configuration as follows:
-printmapping out.map -dontoptimize -keepdirectories -renamesourcefileattribute SourceFile -keepattributes Exceptions,SourceFile,LineNumberTable,*Annotation* -adaptresourcefilenames **.xsd,**.wsdl,**.xml,**.properties,**.gif,**.jpg,**.png -adaptresourcefilecontents **.xsd,**.wsdl,**.xml,**.properties,META-INF/MANIFEST.MF -dontshrink -keepclassmembernames class * { java.lang.Class class$(java.lang.String); java.lang.Class class$(java.lang.String, boolean); } -keepclassmembers enum * { public static **[] values(); public static ** valueOf(java.lang.String); } -keepclassmembers class * implements java.io.Serializable { static final long serialVersionUID; private static final java.io.ObjectStreamField[] serialPersistentFields; private void writeObject(java.io.ObjectOutputStream); private void readObject(java.io.ObjectInputStream); java.lang.Object writeReplace(); java.lang.Object readResolve(); } -keep @org.springframework.transaction.annotation.Transactional class * -keep @org.springframework.stereotype.Service class * -keep @org.springframework.stereotype.Controller class * -keep @org.springframework.beans.factory.annotation.Autowired class * -keep @org.springframework.web.bind.annotation.ResponseBody class * -keep @org.springframework.web.bind.annotation.RequestMapping class * -keep @org.springframework.stereotype.Repository class * -keep @javax.annotation.Resource class * -keep @javax.persistence.Entity class * -keep @javax.persistence.Table class * -keep @javax.persistence.Id class * -keep @javax.persistence.GeneratedValue class * -keep @javax.persistence.Column class * -keep @javax.persistence.Transient class * -keep @org.springframework.ws.server.endpoint.annotation.Endpoint class * -keep @org.springframework.ws.server.endpoint.annotation.PayloadRoot class * -keep @org.springframework.ws.server.endpoint.annotation.ResponsePayload class *
It was beautifully built without any warning. But after deploying to tomcat and opening the page in the browser, it waits and waits without any results. What could be the problem?
java spring proguard
GingerHead Jan 23 2018-12-12T00: 00Z
source share