<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic IllegalAccessError when starting Spring Boot application in Splunk AppDynamics</title>
    <link>https://community.splunk.com/t5/Splunk-AppDynamics/IllegalAccessError-when-starting-Spring-Boot-application/m-p/723174#M3572</link>
    <description>&lt;P&gt;Getting a strange error when starting my Spring boot application. We have a large number of applications already running AppDynamics without problems but for one of them it does not work. The special thing with this app is that it uses Springs LdapTemplate.&lt;/P&gt;&lt;P&gt;The error:&lt;/P&gt;&lt;PRE class="lia-code-sample language-java"&gt;&lt;CODE&gt;j.l.IllegalAccessError: Class javax/naming/directory/InitialDirContext(module java.naming) can not access class com/singularity/ee/agent/appagent/entrypoint/bciengine/FastMethodInterceptorDelegatorBoot(unnamed module 0x00000000EE842658) because module module java.naming does not read module unnamed module 0x00000000EE842658 
	at j.n.d.InitialDirContext.search(InitialDirContext.java)
	at o.s.l.c.LdapTemplate$4.executeSearch(LdapTemplate.java:322)
	at o.s.l.c.LdapTemplate.search(LdapTemplate.java:363)
	at o.s.l.c.LdapTemplate.search(LdapTemplate.java:328)
	at o.s.l.c.LdapTemplate.search(LdapTemplate.java:604)
	at o.s.l.c.LdapTemplate.search(LdapTemplate.java:594)
	at o.s.l.c.LdapTemplate.search(LdapTemplate.java:482)
	at o.s.l.c.LdapTemplate.search(LdapTemplate.java:498)
	at o.s.l.c.LdapTemplate.search(LdapTemplate.java:514)&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;I have trie various combinations of add-opens, add-reads and add-exports to the jvm but nothing helps so far.&lt;/P&gt;</description>
    <pubDate>Sun, 23 Jan 2022 10:39:00 GMT</pubDate>
    <dc:creator>Jörgen_Brutar</dc:creator>
    <dc:date>2022-01-23T10:39:00Z</dc:date>
    <item>
      <title>IllegalAccessError when starting Spring Boot application</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/IllegalAccessError-when-starting-Spring-Boot-application/m-p/723174#M3572</link>
      <description>&lt;P&gt;Getting a strange error when starting my Spring boot application. We have a large number of applications already running AppDynamics without problems but for one of them it does not work. The special thing with this app is that it uses Springs LdapTemplate.&lt;/P&gt;&lt;P&gt;The error:&lt;/P&gt;&lt;PRE class="lia-code-sample language-java"&gt;&lt;CODE&gt;j.l.IllegalAccessError: Class javax/naming/directory/InitialDirContext(module java.naming) can not access class com/singularity/ee/agent/appagent/entrypoint/bciengine/FastMethodInterceptorDelegatorBoot(unnamed module 0x00000000EE842658) because module module java.naming does not read module unnamed module 0x00000000EE842658 
	at j.n.d.InitialDirContext.search(InitialDirContext.java)
	at o.s.l.c.LdapTemplate$4.executeSearch(LdapTemplate.java:322)
	at o.s.l.c.LdapTemplate.search(LdapTemplate.java:363)
	at o.s.l.c.LdapTemplate.search(LdapTemplate.java:328)
	at o.s.l.c.LdapTemplate.search(LdapTemplate.java:604)
	at o.s.l.c.LdapTemplate.search(LdapTemplate.java:594)
	at o.s.l.c.LdapTemplate.search(LdapTemplate.java:482)
	at o.s.l.c.LdapTemplate.search(LdapTemplate.java:498)
	at o.s.l.c.LdapTemplate.search(LdapTemplate.java:514)&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;I have trie various combinations of add-opens, add-reads and add-exports to the jvm but nothing helps so far.&lt;/P&gt;</description>
      <pubDate>Sun, 23 Jan 2022 10:39:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/IllegalAccessError-when-starting-Spring-Boot-application/m-p/723174#M3572</guid>
      <dc:creator>Jörgen_Brutar</dc:creator>
      <dc:date>2022-01-23T10:39:00Z</dc:date>
    </item>
    <item>
      <title>Re: IllegalAccessError when starting Spring Boot application</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/IllegalAccessError-when-starting-Spring-Boot-application/m-p/723175#M3573</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://community.appdynamics.com/t5/user/viewprofilepage/user-id/156565"&gt;@Jörgen.Brutar&lt;/A&gt;,&lt;/P&gt;

&lt;P&gt;There is an existing thread that mentions the same error.&lt;/P&gt;

&lt;P&gt;Please take a look at this thread and see if it offers any helpful insight&lt;A href="https://community.appdynamics.com/t5/Java-Java-Agent-Installation-JVM-and-Controller-Installation/Error-in-configuring-javaagent-in-Spring-Boot-application/m-p/45859#U45859" class="lia-mention-container-editor-message lia-img-icon-forum-thread lia-fa-icon lia-fa-forum lia-fa-thread lia-fa"&gt;Error in configuring javaagent in Spring Boot application&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 24 Jan 2022 18:32:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/IllegalAccessError-when-starting-Spring-Boot-application/m-p/723175#M3573</guid>
      <dc:creator>iamryan</dc:creator>
      <dc:date>2022-01-24T18:32:20Z</dc:date>
    </item>
  </channel>
</rss>

