<?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>osgi  - Unresolved requirement: Import-Package: javax.microedition.io</title>
  <link rel="self" href="https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=94660606" />
  <subtitle>osgi  - Unresolved requirement: Import-Package: javax.microedition.io</subtitle>
  <id>https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=94660606</id>
  <updated>2026-06-24T17:29:49Z</updated>
  <dc:date>2026-06-24T17:29:49Z</dc:date>
  <entry>
    <title>RE: osgi  - Unresolved requirement: Import-Package: javax.microedition.io</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=94725035" />
    <author>
      <name>Sushil Patidar</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=94725035</id>
    <updated>2017-09-11T06:00:35Z</updated>
    <published>2017-09-11T06:00:35Z</published>
    <summary type="html">Hi Kailash,&lt;br /&gt;&lt;br /&gt;I faced this error sometimes when dependency version was not correct. In my opinion  there is some dependency /transitive dependency whose version is not correct. Try if you are using correct  supported version.&lt;br /&gt;Hope it helps.&lt;br /&gt;&lt;br /&gt;REgards</summary>
    <dc:creator>Sushil Patidar</dc:creator>
    <dc:date>2017-09-11T06:00:35Z</dc:date>
  </entry>
  <entry>
    <title>RE: osgi  - Unresolved requirement: Import-Package: javax.microedition.io</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=94659699" />
    <author>
      <name>Joye Luo</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=94659699</id>
    <updated>2017-09-08T09:43:47Z</updated>
    <published>2017-09-08T09:43:47Z</published>
    <summary type="html">Hey Kailash,&lt;br /&gt;&lt;br /&gt;I think javax.microedition.io is an transitive dependency from one of your dependencies.&lt;br /&gt;You may should add all the transitive dependencies into the OSGi container if the container do not have it.</summary>
    <dc:creator>Joye Luo</dc:creator>
    <dc:date>2017-09-08T09:43:47Z</dc:date>
  </entry>
  <entry>
    <title>osgi  - Unresolved requirement: Import-Package: javax.microedition.io</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=94660605" />
    <author>
      <name>Kailash Yadav</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=94660605</id>
    <updated>2017-09-08T09:26:31Z</updated>
    <published>2017-09-08T09:26:31Z</published>
    <summary type="html">&lt;html&gt;&lt;head&gt;&lt;/head&gt;&lt;body&gt;Hello experts,&lt;br&gt;&lt;br&gt;I tried to use AWS SDK in liferay module but I am getting following error message:&lt;br&gt;&lt;pre&gt;&lt;code&gt;org.osgi.framework.BundleException: Could not resolve module: xyz.service [46]_  Unresolved requirement: Import-Package: javax.microedition.io_ [Sanitized]
        at org.eclipse.osgi.container.Module.start(Module.java:429)
        at org.eclipse.osgi.internal.framework.EquinoxBundle.start(EquinoxBundle.java:402)
        at org.apache.felix.fileinstall.internal.DirectoryWatcher.startBundle(DirectoryWatcher.java:1252)
        at org.apache.felix.fileinstall.internal.DirectoryWatcher.startBundles(DirectoryWatcher.java:1224)
        at org.apache.felix.fileinstall.internal.DirectoryWatcher.doProcess(DirectoryWatcher.java:512)
        at org.apache.felix.fileinstall.internal.DirectoryWatcher.process(DirectoryWatcher.java:361)
        at org.apache.felix.fileinstall.internal.DirectoryWatcher.run(DirectoryWatcher.java:313)&lt;/code&gt;&lt;/pre&gt;&lt;br&gt;&lt;br&gt;My build.gradle file is :&lt;br&gt;&lt;pre&gt;&lt;code&gt;dependencies {
	compileOnly group: "com.liferay.portal", name: "com.liferay.portal.kernel", version: "2.0.0"
	compileOnly group: "org.osgi", name: "org.osgi.compendium", version: "5.0.0"
	compileOnly project(":modules:apps:modern-web-architecture:elastic-path-api")
	compile group: "org.osgi", name:"org.osgi.service.component.annotations", version:"1.3.0"
	compile group: 'com.amazonaws', name: 'aws-java-sdk-core', version: '1.11.189'
	compile group: 'com.amazonaws', name: 'aws-lambda-java-core', version: '1.1.0'
	compile group: 'com.fasterxml.jackson.core', name: 'jackson-annotations', version: '2.9.0'
	compile group: 'com.fasterxml.jackson.core', name: 'jackson-core', version: '2.9.0'
    compile group: 'com.fasterxml.jackson.core', name: 'jackson-databind', version: '2.9.0'
	compile group: 'com.fasterxml.jackson.dataformat', name: 'jackson-dataformat-cbor', version: '2.9.0'
 }&lt;/code&gt;&lt;/pre&gt;&lt;br&gt;and bdl.bdl is :&lt;br&gt;&lt;pre&gt;&lt;code&gt;Bundle-SymbolicName: xyz.service
Bundle-Version: 1.0.0
Bundle-ClassPath:\
  .,\
  lib/aws-java-sdk-core.jar,\
  lib/aws-lambda-java-core.jar,\
  lib/jackson-annotations.jar,\
  lib/jackson-core.jar,\
  lib/jackson-databind.jar,\
  lib/jackson-dataformat-cbor.jar
 -includeresource:\
  lib/aws-java-sdk-core.jar=aws-java-sdk-core-1.11.189.jar,\
  lib/aws-lambda-java-core.jar=aws-lambda-java-core-1.1.0.jar,\
  lib/jackson-annotations.jar=jackson-annotations-2.9.0.jar, \
  lib/jackson-core.jar=jackson-core-2.9.0.jar,\
  lib/jackson-databind.jar=jackson-databind-2.9.0.jar,\
  lib/jackson-dataformat-cbor.jar=jackson-dataformat-cbor-2.9.0.jar&lt;/code&gt;&lt;/pre&gt;&lt;br&gt;&lt;br&gt;Can someone help me how can I find actual jar which contain &lt;strong&gt;javax.microedition.io&lt;/strong&gt; package? The stack-trace does not indicate that which module/jar is using this package.&lt;/body&gt;&lt;/html&gt;</summary>
    <dc:creator>Kailash Yadav</dc:creator>
    <dc:date>2017-09-08T09:26:31Z</dc:date>
  </entry>
</feed>
