Details
-
Bug
-
Status: Closed
-
Resolution: Fixed
-
7.0.X EE, Master
Description
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.