Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Won't Fix
-
Affects Version/s: 6.1.1 CE GA2
-
Fix Version/s: 6.1.1 CE GA2
-
Component/s: Tools > Service Builder
-
Labels:None
-
Environment:Eclipse Liferay IDE Plugin 1.6.0, Windows 7 x64
-
Similar Issues:
Description
<entity name="Conference" local-service="true" remote-service="true">
<column name="conferenceId" type="long" primary="true" />
<column name="title" type="String" />
<column name="description" type="String" />
<!-- <column name="public" type="boolean" /> -->
<column name="userId" type="long" />
<column name="companyId" type="long" />
<column name="groupId" type="long" />
...
</entity>
Creating the entity without the boolean collumn works finde but trying to generate it with the boolean collumn fails.
----------------------------------------------------------------------------
[javac] Compiling 4 source files to D:\opt\Liferay\6.1.1-ce-ga2\liferay-plugins-sdk-6.1.1\portlets\uni-collaboration-portlet\docroot\WEB-INF\service-classes
[javac] ----------
[javac] 1. ERROR in D:\opt\Liferay\6.1.1-ce-ga2\liferay-plugins-sdk-6.1.1\portlets\uni-collaboration-portlet\docroot\WEB-INF\service\de\hswismar\liferay\portlet\model\Conference.java (at line 28)
[javac] public interface Conference extends ConferenceModel, PersistedModel {
[javac] ^^^^^^^^^^^^^^^
[javac] ConferenceModel cannot be resolved to a type
[javac] ----------
[javac] ----------
[javac] 2. ERROR in D:\opt\Liferay\6.1.1-ce-ga2\liferay-plugins-sdk-6.1.1\portlets\uni-collaboration-portlet\docroot\WEB-INF\service\de\hswismar\liferay\portlet\service\persistence\ConferencePersistence.java (at line 33)
[javac] public interface ConferencePersistence extends BasePersistence<Conference> {
[javac] ^^^^^^^^^^
[javac] Bound mismatch: The type Conference is not a valid substitute for the bounded parameter <T extends BaseModel<T>> of the type BasePersistence<T>
[javac] ----------
[javac] 3. ERROR in D:\opt\Liferay\6.1.1-ce-ga2\liferay-plugins-sdk-6.1.1\portlets\uni-collaboration-portlet\docroot\WEB-INF\service\de\hswismar\liferay\portlet\service\persistence\ConferencePersistence.java (at line 76)
[javac] de.hswismar.liferay.portlet.NoSuchConferenceException;
[javac] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[javac] de.hswismar.liferay.portlet.NoSuchConferenceException cannot be resolved to a type
[javac] ----------
[javac] 4. ERROR in D:\opt\Liferay\6.1.1-ce-ga2\liferay-plugins-sdk-6.1.1\portlets\uni-collaboration-portlet\docroot\WEB-INF\service\de\hswismar\liferay\portlet\service\persistence\ConferencePersistence.java (at line 93)
[javac] de.hswismar.liferay.portlet.NoSuchConferenceException;
[javac] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[javac] de.hswismar.liferay.portlet.NoSuchConferenceException cannot be resolved to a type
[javac] ----------

As additional information i want to say that jdk 1.7 is used.