This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Accept
Reject
  • RSA.com
  • Home
  • Advisories
    • SecurID
    • SecurID Governance & Lifecycle
  • Documentation
    • SecurID
      • Authentication Agents
        • API / SDK
        • Apache Web Server
        • Citrix StoreFront
        • IIS Web Server
        • MFA Agent for macOS
        • MFA Agent for Windows
        • Microsoft AD FS
        • Microsoft Windows
        • PAM
      • Authentication Engine
      • Authentication Manager
      • Cloud Authentication Service
      • Hardware Appliance
        Component Updates
      • Hardware Tokens
      • Integrations
      • SecurID App
      • SecurID Authenticator for macOS
      • SecurID SDK
      • Software Tokens
        • Android
        • iOS
        • macOS
        • Token Converter
        • Windows
    • SecurID Governance & Lifecycle
    • Technology Partners
  • Downloads
    • SecurID
      • Authentication Agents
        • API / SDK
        • Apache Web Server
        • Citrix StoreFront
        • IIS Web Server
        • MFA Agent for macOS
        • MFA Agent for Windows
        • Microsoft AD FS
        • Microsoft Windows
        • PAM
      • Authentication Engine
      • Authentication Manager
      • Cloud Authentication Service
      • Hardware Appliance
        Component Updates
      • Hardware Tokens
      • Integrations
      • SecurID Authenticator for macOS
      • Software Tokens
        • Android
        • iOS
        • macOS
        • Token Converter
        • Windows
    • SecurID Governance & Lifecycle
  • Community
    • SecurID
      • Blog
      • Discussions
      • Events
      • Idea Exchange
      • Knowledge Base
    • SecurID Governance & Lifecycle
      • Blog
      • Discussions
      • Events
      • Idea Exchange
      • Knowledge Base
  • Support
    • Case Portal
      • Create New Case
      • View My Cases
      • View My Team's Cases
    • Community Support
      • Getting Started
      • News & Announcements
      • Ideas & Suggestions
      • Community Support Articles
      • Community Support Forum
    • Product Life Cycle
    • Support Information
    • General Security Advisories
  • Education
    • Blog
    • Browse Courses
      • SecurID
      • SecurID Governance & Lifecycle
    • Certification Program
    • New Product Readiness
    • Student Resources
Sign In Register Now
cancel
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
Showing results for 
Search instead for 
Did you mean: 
Announcements

SecurID® Discussions

Browse the SecurID discussion board to get product help and collaborate with other SecurID users.
  • SecurID Community
  • :
  • Products
  • :
  • SecurID
  • :
  • Discussions
  • :
  • RSA API ADMIN Error : ClassNotFound
  • Options
    • Subscribe to RSS Feed
    • Mark Topic as New
    • Mark Topic as Read
    • Float this Topic for Current User
    • Bookmark
    • Subscribe
    • Mute
    • Printer Friendly Page
BadrHoussni
BadrHoussni Beginner
Beginner
‎2019-08-27 08:03 AM
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

RSA API ADMIN Error : ClassNotFound

Hi Everyone,

 

We are trying to build an environment to test the RSA API Admin.

We are using the SDK for the latest version of AM 8.4.0

JDK: Oracle JDK 1.8.

IDE: Eclipse

 

We followed the instructions to use the SDK and we are trying to run the AdminAPIDemos.java Class but we are having some errors & exceptions ...
Anyone could help or advice us to troubleshoot this errors?

 

ERROR: com.rsa.common.SystemException: Command target (PrimaryCommandTarget) initialization failure
java.lang.ClassNotFoundException: com.rsa.ims.security.keymanager.sys.FieldsReader
at com.rsa.command.ConnectionFactory.getSpringBeanTarget(ConnectionFactory.java:195)
at com.rsa.command.ConnectionFactory.getTarget(ConnectionFactory.java:174)
at com.rsa.command.ConnectionFactory.getConnection(ConnectionFactory.java:302)
at com.rsa.command.ConnectionFactory.getConnection(ConnectionFactory.java:346)
at rsa_api_admin1.demo_list.main(demo_list.java:1373)
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'PrimaryCommandTarget' defined in URL [jar:file:/C:/Users/bahoussni/eclipse-workspace/rsa_api_admin1/RSA_Authentication_Manager_SDK/lib/java/am-client.jar!/CommandClientAppContext.xml]: Cannot resolve reference to bean 'CommandTargetBasicAuth' while setting bean property 'reference'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'CommandTargetBasicAuth' defined in URL [jar:file:/C:/Users/bahoussni/eclipse-workspace/rsa_api_admin1/RSA_Authentication_Manager_SDK/lib/java/am-client.jar!/CommandClientAppContext.xml]: Cannot resolve reference to bean 'ConnectionInfoProvider' while setting bean property 'connectionInfoProvider'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'ConnectionInfoProvider' defined in URL [jar:file:/C:/Users/bahoussni/eclipse-workspace/rsa_api_admin1/RSA_Authentication_Manager_SDK/lib/java/am-client.jar!/CommandClientAppContext.xml]: Cannot create inner bean 'com.rsa.ims.security.keymanager.sys.ServerAccessInfo#be64738' of type [com.rsa.ims.security.keymanager.sys.ServerAccessInfo] while setting bean property 'serverAccessInfo'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.rsa.ims.security.keymanager.sys.ServerAccessInfo#be64738' defined in URL [jar:file:/C:/Users/bahoussni/eclipse-workspace/rsa_api_admin1/RSA_Authentication_Manager_SDK/lib/java/am-client.jar!/CommandClientAppContext.xml]: Instantiation of bean failed; nested exception is java.lang.NoClassDefFoundError: com/rsa/ims/security/keymanager/sys/FieldsReader
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:334)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:108)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1419)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1160)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:517)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:293)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:290)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:191)
at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:1127)
at com.rsa.command.ConnectionFactory.getSpringBeanTarget(ConnectionFactory.java:193)
... 4 more
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'CommandTargetBasicAuth' defined in URL [jar:file:/C:/Users/bahoussni/eclipse-workspace/rsa_api_admin1/RSA_Authentication_Manager_SDK/lib/java/am-client.jar!/CommandClientAppContext.xml]: Cannot resolve reference to bean 'ConnectionInfoProvider' while setting bean property 'connectionInfoProvider'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'ConnectionInfoProvider' defined in URL [jar:file:/C:/Users/bahoussni/eclipse-workspace/rsa_api_admin1/RSA_Authentication_Manager_SDK/lib/java/am-client.jar!/CommandClientAppContext.xml]: Cannot create inner bean 'com.rsa.ims.security.keymanager.sys.ServerAccessInfo#be64738' of type [com.rsa.ims.security.keymanager.sys.ServerAccessInfo] while setting bean property 'serverAccessInfo'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.rsa.ims.security.keymanager.sys.ServerAccessInfo#be64738' defined in URL [jar:file:/C:/Users/bahoussni/eclipse-workspace/rsa_api_admin1/RSA_Authentication_Manager_SDK/lib/java/am-client.jar!/CommandClientAppContext.xml]: Instantiation of bean failed; nested exception is java.lang.NoClassDefFoundError: com/rsa/ims/security/keymanager/sys/FieldsReader
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:334)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:108)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1419)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1160)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:517)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:293)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:290)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:191)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:328)
... 15 more
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'ConnectionInfoProvider' defined in URL [jar:file:/C:/Users/bahoussni/eclipse-workspace/rsa_api_admin1/RSA_Authentication_Manager_SDK/lib/java/am-client.jar!/CommandClientAppContext.xml]: Cannot create inner bean 'com.rsa.ims.security.keymanager.sys.ServerAccessInfo#be64738' of type [com.rsa.ims.security.keymanager.sys.ServerAccessInfo] while setting bean property 'serverAccessInfo'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.rsa.ims.security.keymanager.sys.ServerAccessInfo#be64738' defined in URL [jar:file:/C:/Users/bahoussni/eclipse-workspace/rsa_api_admin1/RSA_Authentication_Manager_SDK/lib/java/am-client.jar!/CommandClientAppContext.xml]: Instantiation of bean failed; nested exception is java.lang.NoClassDefFoundError: com/rsa/ims/security/keymanager/sys/FieldsReader
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveInnerBean(BeanDefinitionValueResolver.java:287)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:122)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1419)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1160)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:517)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:293)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:290)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:191)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:328)
... 25 more
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.rsa.ims.security.keymanager.sys.ServerAccessInfo#be64738' defined in URL [jar:file:/C:/Users/bahoussni/eclipse-workspace/rsa_api_admin1/RSA_Authentication_Manager_SDK/lib/java/am-client.jar!/CommandClientAppContext.xml]: Instantiation of bean failed; nested exception is java.lang.NoClassDefFoundError: com/rsa/ims/security/keymanager/sys/FieldsReader
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:1039)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:985)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:485)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveInnerBean(BeanDefinitionValueResolver.java:276)
... 35 more
Caused by: java.lang.NoClassDefFoundError: com/rsa/ims/security/keymanager/sys/FieldsReader
at java.lang.Class.getDeclaredConstructors0(Native Method)
at java.lang.Class.privateGetDeclaredConstructors(Unknown Source)
at java.lang.Class.getConstructor0(Unknown Source)
at java.lang.Class.getDeclaredConstructor(Unknown Source)
at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:78)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:1032)
... 39 more
Caused by: java.lang.ClassNotFoundException: com.rsa.ims.security.keymanager.sys.FieldsReader
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
... 45 more

 

Thank you.

Labels (1)
Labels
  • Labels:
  • Integrations

  • Tags:
  • admin api
  • admin sdk
  • authenticaiton manager
  • Community Thread
  • Discussion
  • Forum Thread
  • Integration
  • Integrations
  • java api
  • RSA SecurID
  • RSA SecurID Access
  • RSA SecurID Integration
  • SecurID
2 Likes
Share
Reply
  • All forum topics
  • Previous Topic
  • Next Topic
17 Replies
RanjanP
RanjanP Beginner
Beginner
‎2019-10-03 07:35 AM
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Hi  Badr Houssni,  I had the same problem you have when we are updating java.

 

Check your CommandClientAppContextOverrides.xml file in specified path or check the configuration that you have mentioned are correct. Else try to reconfigure the XML with the appliance connection credentials .

0 Likes
Share
Reply
ismailraju
ismailraju Beginner
Beginner
In response to RanjanP
‎2020-07-10 05:02 AM
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

It's not solved this way. can you help ?

0 Likes
Share
Reply
RanjanP
RanjanP Beginner
Beginner
In response to ismailraju
‎2020-07-10 05:11 AM
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Hi Ismail Raju,

 

Kindly specify your configuration and integration details. What are you trying to do?

1 Like
Share
Reply
ismailraju
ismailraju Beginner
Beginner
In response to RanjanP
‎2020-07-10 05:18 AM
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

I'm going to integrate it with Spring-MVC. and want to use 

HttpInvokerCommandTargetBasicAuth
0 Likes
Share
Reply
ismailraju
ismailraju Beginner
Beginner
In response to RanjanP
‎2020-07-10 05:23 AM
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

getting this error.
Ubuntu Pastebin 

0 Likes
Share
Reply
RanjanP
RanjanP Beginner
Beginner
In response to ismailraju
‎2020-07-10 05:30 AM
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

1.) Try to reconfigure CommandClientAppContext.xml and other correspondingly.

2.) which server you are using.

1 Like
Share
Reply
ismailraju
ismailraju Beginner
Beginner
In response to RanjanP
‎2020-07-10 05:34 AM
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

1. I just configure "CommandClientAppContextOverrides.xml"  and add all other .XML file from am-client.jar . what do you mean by reconfigure.?
2. Tomcat server

 

0 Likes
Share
Reply
ismailraju
ismailraju Beginner
Beginner
In response to RanjanP
‎2020-07-10 05:36 AM
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

com.rsa.ims.security.keymanager.sys.FieldsReader  class should stay "com.rsa.ims.security.keymanager.sys" package ..but I don't find it .

0 Likes
Share
Reply
RanjanP
RanjanP Beginner
Beginner
In response to ismailraju
‎2020-07-10 05:39 AM
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Which version Tomcat you are using?

Are you running code on eclipse (or) deployed in server.

0 Likes
Share
Reply
  • « Previous
    • 1
    • 2
  • Next »
  • « Previous
    • 1
    • 2
  • Next »
Powered by Khoros
  • Blog
  • Events
  • Discussions
  • Idea Exchange
  • Knowledge Base
  • Case Portal
  • Community Support
  • Product Life Cycle
  • Support Information
  • Customer Success
  • About the Community
  • Terms & Conditions
  • Privacy Statement
  • Provide Feedback
  • Employee Login
© 2022 RSA Security LLC or its affiliates. All rights reserved.