beneo
beneo

Reputation: 113

grails 3.0.3 with asset-pipeline-gradle:2.3.8 is not working after unzip the deploy war file

  1. I create a new grails app
  2. I change the asset-pipeline-gradle version to 2.3.8
  3. I deploy the application with command

grails dev war

  1. I just run command

java -jar App.0.1.war

and it works fun, the css js and images all work ok

  1. and if i unzip the war file and copy all the files to my custom tomcat fold, the tomcat startup normally, but the css, js can not display

Can anyone help me, the speed me 2 days to reappear the issue

Upvotes: 2

Views: 1014

Answers (2)

beneo
beneo

Reputation: 113

according to issues from asset-pipeline and grails-core, you can specify the asset-pipeline verion in build.gradle

runtime "org.grails.plugins:asset-pipeline:3.0.1"

or wait for grails 3.0.6

Upvotes: 1

sensei
sensei

Reputation: 621

I believe this is a grails 3 or asset-pipeline bug. I've been having the same problem with 3.0.3 and 3.0.4, so I ended up opening https://github.com/grails/grails-core/issues/9151 (would have simply commented on your question, but I do not have enough rep).

Upvotes: 0

Related Questions