Skip to Content
0
Former Member
Apr 26, 2005 at 06:31 AM

Missing library with Application Configuration Management

25 Views

Hello,

I want to use the Application Configuration Management in a Servlet. I added in the context menu of the J2EE Web Project the additional library "configuration."

I copied the program code from the NWDS Documentation:

// get ApplicationConfigHandlerFactory instance from JNDI

ApplicationConfigHandlerFactory appCfgHdlFctry = (ApplicationConfigHandlerFactory)ctx.lookup("ApplicationConfiguration");

// request ApplicationConfigurationHandler instance from the factory

ApplicationConfigurationHandler cfgHandler = appCfgHdlFctry.getApplicationConfigurationHandler();

Then I got the error message:

This compilation unit indirectly references the missing type com.sap.engine.frame.core.configuration.ConfigurationException (typically some required class file is referencing a type outside the classpath)

Does anybody know, which further additional libraries I need to add?

Thanks,

Juergen