-
Type:
Bug
-
Status: Closed
-
Resolution: Fixed
-
Affects Version/s: 7.0.X EE, Master
-
Fix Version/s: 7.0.0 DXP FP30, 7.0.0 DXP FP31, 7.0.4 CE GA5, 7.0.5 CE GA6, 7.0.X
-
Component/s: Core Infrastructure > Service Builder, Dev Tools
-
Story Points:1.75
-
Fix Priority:3
-
Git Pull Request:
This unwanted behavior can be reproduced by using Blade or Maven to create a new service builder plugin. Here are the steps to reproduce with Blade.
Steps to reproduce
- blade create -t service-builder -p es.com.packagepath packagepath
- cd packagepath
- blade gw buildService
- blade gw deploy
Expected behavior
Deployment occurs normally when you environment is correctly setup.
Current behavior
You get an error while deploying
/Users/thecleydyr/packagepath/packagepath-api/src/main/java/es/com/packagepath/model/FooModel.java:338: error: cannot find symbol public es.Foo toEscapedModel(); ^ symbol: class Foo location: package es /Users/thecleydyr/packagepath/packagepath-api/src/main/java/es/com/packagepath/model/FooModel.java:341: error: cannot find symbol public es.Foo toUnescapedModel(); ^ symbol: class Foo location: package es /Users/thecleydyr/packagepath/packagepath-api/src/main/java/es/com/packagepath/model/FooWrapper.java:201: error: cannot find symbol public com.liferay.portal.kernel.model.CacheModel<es.Foo> toCacheModel() { ^ symbol: class Foo location: package es /Users/thecleydyr/packagepath/packagepath-api/src/main/java/es/com/packagepath/model/FooWrapper.java:206: error: cannot find symbol public es.Foo toEscapedModel() { ^ symbol: class Foo location: package es /Users/thecleydyr/packagepath/packagepath-api/src/main/java/es/com/packagepath/model/FooWrapper.java:211: error: cannot find symbol public es.Foo toUnescapedModel() { ^ symbol: class Foo location: package es /Users/thecleydyr/packagepath/packagepath-api/src/main/java/es/com/packagepath/model/FooWrapper.java:216: error: cannot find symbol public int compareTo(es.Foo foo) { ^ symbol: class Foo location: package es 8 errors :packagepath-api:compileJava FAILED FAILURE: Build failed with an exception.