<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <title>weird IDE Error markers Liferay 7.3.5 CE</title>
  <link rel="self" href="https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=120383197" />
  <subtitle>weird IDE Error markers Liferay 7.3.5 CE</subtitle>
  <id>https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=120383197</id>
  <updated>2026-04-03T22:31:56Z</updated>
  <dc:date>2026-04-03T22:31:56Z</dc:date>
  <entry>
    <title>RE: weird IDE Error markers Liferay 7.3.5 CE</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=121401465" />
    <author>
      <name>ameen mizeyed</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=121401465</id>
    <updated>2022-04-25T16:48:16Z</updated>
    <published>2022-04-18T23:25:22Z</published>
    <summary type="html">&lt;p&gt;Hello&lt;/p&gt;
&lt;p&gt;I faced the same Issue&lt;br /&gt; In Liferay 7.3 can be used only&lt;br /&gt;
  compileOnly group: &amp;quot;com.liferay.portal&amp;quot;, name:
  &amp;quot;release.portal.api&amp;quot;   instead of a lot of jar such in old
  Liferay version and that cause IDE wired issue&lt;/p&gt;
&lt;p&gt;to solve this issue&lt;br /&gt;
  &lt;br /&gt;
  &lt;br /&gt; and then Upgrade gradle Version   &lt;br /&gt; gradle =&amp;gt;wrapper
  =&amp;gt; gradle-wrapper.properties&lt;/p&gt;
&lt;p&gt;Upgrade Gradle Workspace on file settings.gradle&lt;br /&gt; classpath
  group: &amp;quot;com.liferay&amp;quot;, name:
  &amp;quot;com.liferay.gradle.plugins.workspace&amp;quot;, version: &amp;quot;3.4.2&amp;quot;&lt;/p&gt;
&lt;p&gt;
  &lt;br /&gt; then upgrade any module using the old config at
  build.gradle&lt;br /&gt; such as&lt;/p&gt;
&lt;p&gt;
  &lt;br /&gt; compileOnly group: &amp;quot;com.liferay.portal&amp;quot;, name:
  &amp;quot;com.liferay.portal.kernel&amp;quot;&lt;br /&gt; compileOnly group:
  'com.liferay', name: 'com.liferay.petra.function'&lt;br /&gt; and use &lt;/p&gt;
&lt;p&gt;compileOnly group: &amp;quot;com.liferay.portal&amp;quot;, name: &amp;quot;release.portal.api&amp;quot; &lt;/p&gt;
&lt;p&gt;last you must clear old jar and used release.portal.api  &lt;br /&gt; open
  cmd and go to workspace folder  then you will find gradlew.bat&lt;br /&gt;
  run this command&lt;br /&gt; gradlew.bat clean&lt;br /&gt; to clean the project&lt;br /&gt;
  &lt;br /&gt; ​​​​​​​and this issue solve&lt;/p&gt;
&lt;p&gt;
  &lt;br /&gt;  &lt;/p&gt;</summary>
    <dc:creator>ameen mizeyed</dc:creator>
    <dc:date>2022-04-18T23:25:22Z</dc:date>
  </entry>
  <entry>
    <title>RE: RE: weird IDE Error markers Liferay 7.3.5 CE</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=120469749" />
    <author>
      <name>Sebastian Wikholm</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=120469749</id>
    <updated>2020-11-25T07:32:06Z</updated>
    <published>2020-11-25T07:32:06Z</published>
    <summary type="html">&lt;p&gt;I can confirm. Experiencing the exakt same thing with liferay
  IDE Version: 3.9.0.202010130127-ga1 and JDK11.0.8. Default install
  nothing changed and get errors if i dont use days to find what i need
  to put in gradle.build to get it to work.&lt;/p&gt;</summary>
    <dc:creator>Sebastian Wikholm</dc:creator>
    <dc:date>2020-11-25T07:32:06Z</dc:date>
  </entry>
  <entry>
    <title>RE: RE: weird IDE Error markers Liferay 7.3.5 CE</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=120421292" />
    <author>
      <name>marvin ros</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=120421292</id>
    <updated>2020-11-09T06:42:31Z</updated>
    <published>2020-11-09T06:42:31Z</published>
    <summary type="html">&lt;p&gt;Hello Lawrence Lee,&lt;/p&gt;
&lt;p&gt;I have tried this all (checked installed JREs/clean/rebuild) on
  multiple workstations with the same result.&lt;/p&gt;
&lt;p&gt;Ashley Yuan created an issue for this problem which seemed fixed 2
  days ago...&lt;br /&gt;https://liferay.dev/blogs/-/blogs/new-installers-and-ide-3-9-0-ga1-released?scroll=_com_liferay_blogs_web_portlet_BlogsPortlet_discussionContainer&lt;br /&gt;
  &lt;br /&gt;The issue: https://issues.liferay.com/browse/IDE-4902&lt;/p&gt;
&lt;p&gt;I havent tried it since then.&lt;/p&gt;</summary>
    <dc:creator>marvin ros</dc:creator>
    <dc:date>2020-11-09T06:42:31Z</dc:date>
  </entry>
  <entry>
    <title>RE: RE: weird IDE Error markers Liferay 7.3.5 CE</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=120407790" />
    <author>
      <name>Lawrence Lee</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=120407790</id>
    <updated>2020-11-06T15:38:28Z</updated>
    <published>2020-11-06T15:38:28Z</published>
    <summary type="html">&lt;p&gt;Actually, can you check a few different JDK settings in your eclipse?&lt;/p&gt;
&lt;p&gt;Preferences &amp;gt; Java &amp;gt; Installed JREs&lt;/p&gt;
&lt;p&gt;Preferences &amp;gt; Gradle &amp;gt; Java Home&lt;/p&gt;
&lt;p&gt;Make sure these point to the correct JDK.&lt;/p&gt;</summary>
    <dc:creator>Lawrence Lee</dc:creator>
    <dc:date>2020-11-06T15:38:28Z</dc:date>
  </entry>
  <entry>
    <title>RE: RE: weird IDE Error markers Liferay 7.3.5 CE</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=120407779" />
    <author>
      <name>Lawrence Lee</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=120407779</id>
    <updated>2020-11-06T15:36:13Z</updated>
    <published>2020-11-06T15:36:13Z</published>
    <summary type="html">&lt;p&gt;I dont think that this is an issue with the JDK. I was able to follow
  your steps with Zulu11.43+21-CA&lt;/p&gt;
&lt;p&gt;Can you try a project clean and then build again? &lt;/p&gt;
&lt;p&gt; &lt;/p&gt;</summary>
    <dc:creator>Lawrence Lee</dc:creator>
    <dc:date>2020-11-06T15:36:13Z</dc:date>
  </entry>
  <entry>
    <title>RE: weird IDE Error markers Liferay 7.3.5 CE</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=120396953" />
    <author>
      <name>marvin ros</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=120396953</id>
    <updated>2020-11-03T07:47:59Z</updated>
    <published>2020-11-03T07:47:59Z</published>
    <summary type="html">&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I have changed my JDK version from zulu11.35.13-ca-jdk11.0.5-win_x64
  to zulu8.44.0.11-ca-jdk8.0.242-win_x64 it seems that this fixed my
  issues with these error markers.&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Is working with JDK zulu11.35.13-ca-jdk11.0.5-win_x64 an issue?&lt;/p&gt;
&lt;p&gt;
  &lt;strong&gt;Are there any JDK versions that I should or sould not use
    while working/developing with liferay eclipse?&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;best regards and thanks for your help.&lt;/p&gt;</summary>
    <dc:creator>marvin ros</dc:creator>
    <dc:date>2020-11-03T07:47:59Z</dc:date>
  </entry>
  <entry>
    <title>RE: weird IDE Error markers Liferay 7.3.5 CE</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=120394494" />
    <author>
      <name>Lawrence Lee</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=120394494</id>
    <updated>2020-11-02T19:10:48Z</updated>
    <published>2020-11-02T19:10:48Z</published>
    <summary type="html">&lt;p&gt;Hi, &lt;/p&gt;
&lt;p&gt;What version of eclipse are you using? Also, what version of JDK do
  you have selected? &lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;This works for me with eclipse 2020-09 and JDK 8 and 11. If i upgrade
  my workspace to Gradle 6, then it'll work with JDK 14. &lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Hope this helps!&lt;/p&gt;</summary>
    <dc:creator>Lawrence Lee</dc:creator>
    <dc:date>2020-11-02T19:10:48Z</dc:date>
  </entry>
  <entry>
    <title>RE: weird IDE Error markers Liferay 7.3.5 CE</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=120394090" />
    <author>
      <name>marvin ros</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=120394090</id>
    <updated>2020-11-02T14:18:11Z</updated>
    <published>2020-11-02T14:18:11Z</published>
    <summary type="html">&lt;p&gt;I am still getting these error markers with fresh generated
  modules.&lt;br /&gt;My goal is to upgrade some other modules from 7.1/7.2 to
  the new liferay 7.3 version.&lt;/p&gt;
&lt;p&gt;So like Olaf said here :&lt;/p&gt;
&lt;blockquote&gt;
  &lt;p&gt;It might be that the dependency I'm listing is already contained in
    the release.portal.api dependency - I've not yet started a new
    project on 7.3, only ported existing ones forward that explicitly
    declared the modules they depend on.&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;If I remove the 'compileOnly group: &amp;quot;com.liferay.portal&amp;quot;,
  name: &amp;quot;release.portal.api&amp;quot;' import and use every dependency
  import directly on its own I dont get these error markers anymore. &lt;/p&gt;
&lt;p&gt;But is this the way to go now? I thought that the single build gradle
  line 'compileOnly group: &amp;quot;com.liferay.portal&amp;quot;, name:
  &amp;quot;release.portal.api&amp;quot;' would solve importing every single
  dependency manually or it has all dependencies in it for the fresh
  generated module? &lt;br /&gt;
  &lt;br /&gt;
  &lt;strong&gt;Can anyone confirm that other people are having similar issues
    with those error markers?&lt;/strong&gt; I am worried that I have a
  problem in my IDE/workstation and this issue isnt an issue at all? &lt;/p&gt;</summary>
    <dc:creator>marvin ros</dc:creator>
    <dc:date>2020-11-02T14:18:11Z</dc:date>
  </entry>
  <entry>
    <title>RE: weird IDE Error markers Liferay 7.3.5 CE</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=120389681" />
    <author>
      <name>marvin ros</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=120389681</id>
    <updated>2020-10-30T07:01:57Z</updated>
    <published>2020-10-30T07:00:32Z</published>
    <summary type="html">&lt;p&gt;I have tried to fix these error markers with no success. &lt;br /&gt;I am
  completely lost now. I dont know how to get rid of these. I tried to
  reinstall my IDE and everything.&lt;/p&gt;
&lt;p&gt;I dont know what is going on. &lt;br /&gt;I am sorry to say this but the
  dependency management with liferay and the liferay IDE is very unclear
  for me. I dont even know if this is a dependency issue or a bug/error
  in my IDE.&lt;/p&gt;
&lt;p&gt;The craziest part is that my test module is working fine after I
  deploy it. But still the IDE shows these error markers on many lines
  of the generated code.&lt;/p&gt;
&lt;p&gt;Has anyone had similar experiences developing with this IDE version
  (3.9.0.202010130127-ga1) and Liferay Portal CE 7.3.5ga6?&lt;/p&gt;</summary>
    <dc:creator>marvin ros</dc:creator>
    <dc:date>2020-10-30T07:00:32Z</dc:date>
  </entry>
  <entry>
    <title>RE: RE: weird IDE Error markers Liferay 7.3.5 CE</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=120383855" />
    <author>
      <name>Olaf Kock</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=120383855</id>
    <updated>2020-10-29T15:03:07Z</updated>
    <published>2020-10-29T15:03:07Z</published>
    <summary type="html">&lt;p&gt;It might be that the dependency I'm listing is already contained in
  the release.portal.api dependency - I've not yet started a new project
  on 7.3, only ported existing ones forward that explicitly declared the
  modules they depend on.&lt;/p&gt;</summary>
    <dc:creator>Olaf Kock</dc:creator>
    <dc:date>2020-10-29T15:03:07Z</dc:date>
  </entry>
  <entry>
    <title>RE: weird IDE Error markers Liferay 7.3.5 CE</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=120383318" />
    <author>
      <name>marvin ros</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=120383318</id>
    <updated>2020-10-29T11:37:45Z</updated>
    <published>2020-10-29T11:37:45Z</published>
    <summary type="html">&lt;html&gt;&lt;head&gt;&lt;/head&gt;&lt;body&gt;&lt;p&gt;Hello Olaf,&lt;/p&gt;
&lt;p&gt;thanks for your answer. If I try to organize my imports nothing happens.&lt;/p&gt;
&lt;p&gt;The build.gradle was auto generated by the IDE (create new liferay
  module project) and currently it looks like this:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;dependencies {
	compileOnly group: "com.liferay.portal", name: "release.portal.api"

	cssBuilder group: "com.liferay", name: "com.liferay.css.builder", version: "3.0.2"
}&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Why would the IDE generate a module that hasnt all dependencies in
  its build.gradle file?&amp;nbsp;&lt;br&gt;I tried to&amp;nbsp;add the dependency but it
  still shows the same error markers.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</summary>
    <dc:creator>marvin ros</dc:creator>
    <dc:date>2020-10-29T11:37:45Z</dc:date>
  </entry>
  <entry>
    <title>RE: weird IDE Error markers Liferay 7.3.5 CE</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=120383276" />
    <author>
      <name>Olaf Kock</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=120383276</id>
    <updated>2020-10-29T11:11:14Z</updated>
    <published>2020-10-29T11:11:14Z</published>
    <summary type="html">&lt;p&gt;You're either missing an import (hit Ctrl-Shift-O, or &amp;quot;organize
  imports&amp;quot; from context menu) in the source file in question. Or
  you're missing a dependency in your build.gradle file.&lt;/p&gt;
&lt;p&gt;E.g.&lt;/p&gt;
&lt;p&gt;    compileOnly group: &amp;quot;org.osgi&amp;quot;, name: &amp;quot;org.osgi.service.component.annotations&amp;quot;&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;</summary>
    <dc:creator>Olaf Kock</dc:creator>
    <dc:date>2020-10-29T11:11:14Z</dc:date>
  </entry>
  <entry>
    <title>weird IDE Error markers Liferay 7.3.5 CE</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=120383196" />
    <author>
      <name>marvin ros</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=120383196</id>
    <updated>2020-11-02T19:03:40Z</updated>
    <published>2020-10-29T10:51:41Z</published>
    <summary type="html">&lt;p&gt;Hello together,&lt;/p&gt;
&lt;p&gt;currently I am trying to develop for the new Liferay 7.3.5ga6 CE
  version. I am getting weird IDE error markers and I dont know how to
  fix them.&lt;/p&gt;
&lt;p&gt;What I have done:&lt;/p&gt;
&lt;ol&gt;
  &lt;li&gt;I have downloaded the LiferayWorkspacewithDevStudio windows
    installer and installed it. (Help -&amp;gt; About -&amp;gt; Liferay
    Developer Studio -&amp;gt; Version: 3.9.0.202010130127-ga1) &lt;/li&gt;
  &lt;li&gt;After that I have created a new Liferay Workspace Project and
    checked the download Server bundle checkbox for bundle 7.3.5 ga6 CE.&lt;/li&gt;
  &lt;li&gt;Then I created a new Liferay Module Project panel-app and deployed
    it. Everything works fine.&lt;/li&gt;&lt;/ol&gt;
&lt;p&gt;But in the Eclipse IDE I am getting on many lines of code (that was
  generated by 'create new liferay module project') &lt;br /&gt;errors
  like:&lt;br /&gt;on line '@Component' &lt;strong&gt;'Component cannot be resolved
    to a type' &lt;/strong&gt;
  &lt;br /&gt;on this import 'import
  org.osgi.service.component.annotations.Component;' I am getting
     &lt;strong&gt;'The type org.osgi.service.component.annotations.Component
    is not accessible'&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;There are many other similar error markers (The type ... is not
  accessible). They do not break the module because if I deploy the
  module it is working fine.&lt;/p&gt;
&lt;p&gt;
  &lt;strong&gt;Here is a screenshot from my IDE and these error
    markers:&lt;/strong&gt; &lt;a href="https://i.imgur.com/hPKDsdl.png"&gt;https://i.imgur.com/hPKDsdl.png&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Why am I getting these error markers and how can I fix them? &lt;/p&gt;</summary>
    <dc:creator>marvin ros</dc:creator>
    <dc:date>2020-10-29T10:51:41Z</dc:date>
  </entry>
</feed>
