Announcement Announcement Module
Collapse
No announcement yet.
Spring Security + Spring-Flex: Server.ResourceUnavailable - Method not found Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Spring Security + Spring-Flex: Server.ResourceUnavailable - Method not found

    Hi,

    I get the following error, when trying to access a resource that is secured with method security:
    Code:
    RPC Fault faultString="Cannot invoke method 'METHOD_NAME'." faultCode="Server.ResourceUnavailable" faultDetail="Method 'METHOD_NAME' not found."

    logging in works correctly:
    Code:
    var token:AsyncToken = securityHelperService_.channelSet.login("test", "test");
    // also when logging in via openSearchEngineService_ it works correctly, see example:
    //var token:AsyncToken = securityHelperService_.channelSet.login("test", "test");
    but when accessing the RemoteObject (RO) I receive the above error.
    Here is the code for creating the ROs:
    Code:
    var amfChannelSet_:ChannelSet = new ChannelSet();
    // setup default channelSet: get i via the ServerConfig
    amfChannelSet_.addChannel(ServerConfig.getChannel("my-amf"));
    
    var securityHelperService_:RemoteObject = new RemoteObject();
    securityHelperService_.destination = "securityHelper";
    securityHelperService_.makeObjectsBindable = true;
    securityHelperService_.showBusyCursor = true;
    securityHelperService_.channelSet = amfChannelSet_;
    
    
    var openSearchEngineService_:RemoteObject = new RemoteObject();
    openSearchEngineService_.destination = "openSearchEngine";
    openSearchEngineService_.makeObjectsBindable = true;
    openSearchEngineService_.showBusyCursor = true;
    openSearchEngineService_.channelSet = amfChannelSet_;
    here is the access to the obj:
    Code:
    var token:AsyncToken = openSearchEngineService_.simpleSearchByText( "text" );
            	
    token.addResponder( new AsyncResponder(
    
    	function(data:Object, token:Object):void {
    		var result:Object = (data as ResultEvent).result;
    		var dataProvider:ArrayCollection = result as ArrayCollection;
    		
    		sendNotification(OpenSearchApplicationFacade.SIMPLE_SEARCH_RESULT, dataProvider );
    	},
    	function(error:Object, token:Object):void {
    		var fault:Fault = (error as FaultEvent).fault;
    		//...
    	},
    	
    	null
    ));

    the libs i use:

    org.springframework.flex-1.0.1.RELEASE.jar
    spring-2.5.6
    spring-security-2.0.4



    here is my config:

    web.xml
    Code:
    <?xml version="1.0" encoding="UTF-8"?>
    
    <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd">
    
    <web-app>
    	<display-name>SuccessProfiler Springserver</display-name>
    	<description>SuccessProfiler Springserver</description>
    
    	<context-param>
    		<param-name>contextConfigLocation</param-name>
    		<param-value>
    			/WEB-INF/spring/web-application-config-client.xml
    		</param-value>
    	</context-param>
    	
    	<!-- filters -->
    	<!--  add spring security: pay attention where to put filter tags!!! (before <listener>, after <context-param>) -->
    
        <filter>
           <filter-name>springSecurityFilterChain</filter-name>
           <filter-class>org.springframework.web.filter.DelegatingFilterProxy</filter-class>
        </filter>
    
        <filter-mapping>
          <filter-name>springSecurityFilterChain</filter-name>
          <url-pattern>/*</url-pattern>
        </filter-mapping>
    
        
        <!-- listeners  -->
    	<listener>
    		<listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
    	</listener>
    	
    	<!-- Http Flex Session attribute and binding listener support -->
        <listener>
            <listener-class>flex.messaging.HttpFlexSession</listener-class>
        </listener>
    	
    	<!--
    		The front controller of this Spring Web application, responsible for
    		handling all application requests
    	-->
    	<servlet>
    		<servlet-name>springserver</servlet-name>
    		<servlet-class>org.springframework.web.servlet.DispatcherServlet</servlet-class>
    		<load-on-startup>1</load-on-startup>
    	</servlet>
    
    	<!-- Map all /messagebroker requests to the DispatcherServlet for handling -->
    	<servlet-mapping>
    		<servlet-name>springserver</servlet-name>
    		<url-pattern>/messagebroker/*</url-pattern>
    	</servlet-mapping>
    	
    	<welcome-file-list>
    		<welcome-file>index.html</welcome-file>
    		<welcome-file>index.htm</welcome-file>
    	</welcome-file-list>
    
    </web-app>
    web-application-config-client.xml
    Code:
    <?xml version="1.0" encoding="UTF-8"?>
    <beans xmlns="http://www.springframework.org/schema/beans"
    	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:p="http://www.springframework.org/schema/p"
    	xsi:schemaLocation="
    			http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd">
        
    	<!-- Imports the configurations of the different infrastructure systems of the application -->
    	<import resource="security-config.xml" />
    	<import resource="data-infrastructure-config.xml" />
    	<import resource="jdbc-dao-config.xml" />
    	
    </beans>
    security-config.xml
    Code:
    <beans:beans xmlns="http://www.springframework.org/schema/security"
      xmlns:beans="http://www.springframework.org/schema/beans"
      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      xsi:schemaLocation="http://www.springframework.org/schema/beans 
                          http://www.springframework.org/schema/beans/spring-beans-2.5.xsd
                          http://www.springframework.org/schema/security 
                          http://www.springframework.org/schema/security/spring-security.xsd"> 
    
    	<http entry-point-ref="preAuthenticatedEntryPoint" />
        
        <beans:bean id="preAuthenticatedEntryPoint" 
            class="org.springframework.security.ui.preauth.PreAuthenticatedProcessingFilterEntryPoint" />
       	
        <authentication-provider>
    		<user-service>
    	    	<user name="test" password="test" authorities="ROLE_USER, ROLE_ADMIN" />
    	      	<user name="keith" password="melbourne" authorities="ROLE_USER" />
    		</user-service>
    	</authentication-provider>
    	
    </beans:beans>
    jdbc-dao-config.xml
    Code:
    <?xml version="1.0" encoding="UTF-8"?>
    <beans xmlns="http://www.springframework.org/schema/beans"
    	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:p="http://www.springframework.org/schema/p"
    	xmlns:security="http://www.springframework.org/schema/security"
    	xsi:schemaLocation="
    			http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd
    			http://www.springframework.org/schema/security http://www.springframework.org/schema/security/spring-security.xsd">
    
    	<!-- JDBC Data Access -->
    		
    	<bean id="securityHelper" class="core.SecurityHelper" />
    	
    	<bean id="securedSuccessProfileDAO"
    		class="dao.jdbc.SuccessProfileDAOImpl">
    		<property name="dataSource" ref="dataSource" />
    
    		<security:intercept-methods>
    			<security:protect method="*" access="ROLE_USER" />
    		</security:intercept-methods>
    	</bean>
    	
    	<bean id="openSearchEngine"
    		class="search.OpenSearchEngine">
    		<property name="dataSource" ref="dataSource" />
    		
    		<security:intercept-methods>
    			<security:protect method="*" access="ROLE_USER" />
    		</security:intercept-methods>
    	</bean>
    
    </beans>
    springserver-servlet.xml
    Code:
    <?xml version="1.0" encoding="UTF-8"?>
    <beans xmlns="http://www.springframework.org/schema/beans"
    	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:p="http://www.springframework.org/schema/p"
    	xmlns:flex="http://www.springframework.org/schema/flex" xmlns:security="http://www.springframework.org/schema/security"
    	xsi:schemaLocation="
    			http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd
    			http://www.springframework.org/schema/flex http://www.springframework.org/schema/flex/spring-flex-1.0.xsd
    			http://www.springframework.org/schema/security http://www.springframework.org/schema/security/spring-security.xsd">
    
    	<flex:message-broker>
    		<flex:secured />
    	</flex:message-broker>
    	
    	<flex:remoting-destination ref="securityHelper" />
    
    	<flex:remoting-destination ref="openSearchEngine" />
    
    </beans>
    in data-infrastructure-config.xml just transaction manager and dataSource are configured



    everything works alright, till i'm adding the method security to the bean
    Code:
    		<security:intercept-methods>
    			<security:protect method="*" access="ROLE_USER" />
    		</security:intercept-methods>
    Here are two posts, that had related errors:

    http://forum.springsource.org/showthread.php?t=66788
    is already closed and no answers were given

    http://forum.springsource.org/showth...rceUnavailable
    the guy looked at an old example, it was his error...



    so does anyone know how to help me?
    maybe i'm configuring the beans worng or instantiating them in the wrong order?

    thx for the responses in advance.

  • #2
    I'm not seeing anything obvious. To my eyes, this looks nearly identical to the setup of the "secured" sample in the Test Drive, which uses method security without problem. Can you provide the code of your OpenSearchEngine object? Perhaps there is some difference there that is causing the problem.

    Comment


    • #3
      that's exaclty what drives me crazy:
      Originally posted by jeremyg484 View Post
      I'm not seeing anything obvious. To my eyes, this looks nearly identical to the setup of the "secured" sample in the Test Drive, which uses method security without problem.
      i have other beans declared as well for remoting, for example securedSuccessProfileDAO. if i try to access any of its methods, then the same error occurs. (i have left them out in the jdbc-daoconfig.xml, in case you are wondering where they are declared. nevertheless the same problem occurs.)

      here is the code for openSearchEngine. i have omitted code, where it's not necessary. the methods are junit tested and work without implementing security. so maybe there is an error with wiring the beans with @Resource ? that's the only spring related thing as far as i can see. before i used @Autowire but there was an error, which i described in the last answer of this post: http://forum.springsource.org/showthread.php?t=78779
      here is the related quote:
      since i instantiated the SuccessProfileDAO twice - one unsecure and one secure version - and used @Autowire, i got an exception (i left the names of the beans for better google results):
      Code:
      springsource nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No unique bean of type is defined: expected single matching bean but found 2:

      but i could fix this problem with using @Resource qualifier instead of @Autowire.

      see this thread for further explanations, the guy had exactly the same problems:
      http://forum.springsource.org/showthread.php?t=60659
      OpenSearchEngine.java :
      Code:
      package xxx.search;
      
      import java.sql.ResultSet;
      import java.sql.SQLException;
      import java.util.ArrayList;
      import java.util.LinkedHashMap;
      import java.util.List;
      import java.util.Map;
      import java.util.Random;
      import java.util.Set;
      
      import javax.annotation.Resource;
      
      import org.springframework.jdbc.core.namedparam.MapSqlParameterSource;
      import org.springframework.jdbc.core.namedparam.NamedParameterJdbcDaoSupport;
      import org.springframework.jdbc.core.simple.ParameterizedRowMapper;
      
      import core.Core;
      import dao.jdbc.SFConnectionDAOImpl;
      import dao.jdbc.SFTextDAOImpl;
      import dao.jdbc.SuccessFactorDAOImpl;
      import entity.SFConnection;
      import entity.SFText;
      import entity.SFTextConnection;
      
      
      public class OpenSearchEngine extends NamedParameterJdbcDaoSupport {
      	
      	private static final int MAX_ROW_COUNT = 5;
      	
      	// omitting code
      	public static final String PSTMT_SELECT_BY_SRC_OR_TGT_AND_TEXT = 
      		"...";
      	
      	@Resource
      	private SuccessFactorDAOImpl successFactorDAO;
      	
      	@Resource
      	private SFTextDAOImpl sfTextDAO;
      
      	@Resource
      	private SFConnectionDAOImpl sfConnectionDAO;
      	
      	public OpenSearchEngine() {
      
      	}
      
      	
      	public List<SFTextConnection> simpleSearchByText(int userId, String query, int rowCount) {
      
      		if ( query == null || query.length() <= 0 ) {
      			return null;
      		}
      		
      		// prepare param
      		query = "%" + query + "%";
      		MapSqlParameterSource paramSource = new MapSqlParameterSource();
      		paramSource.addValue("source_text", query);
      		paramSource.addValue("target_text", query);
      		
      		// fetch candidates from db
      		List<SFTextConnection> candidates = getNamedParameterJdbcTemplate().query(
      				PSTMT_SELECT_BY_SRC_OR_TGT_AND_TEXT, 
      				paramSource, 
      				createSimpleSearchSFTextConnectionRowMapper(userId));
      
      		// if no results where found
      		if ( candidates == null || candidates.size() <= 0 ) {
      			return candidates;
      		}
      		
      		return chooseConnections(candidates, userId, rowCount);
      	}
      	
      	private void switchSourceAndTargetByQuery(List<SFTextConnection> connections,
      			String query) {
      		
      		for ( SFTextConnection conn : connections ) {
      			conn.switchSourceAndTargetByQuery(query);
      		}
      		
      	}
      
      
      	/**
      	 * 
      	 * @param candidates
      	 * @param userId
      	 * @param rowCount
      	 * @return
      	 */
      	private List<SFTextConnection> chooseConnections(List<SFTextConnection> candidates, int userId, int rowCount) {
      
      		// omitting code
      		return new ArrayList<SFTextConnection>();
      	}
      	
      	private List<SFTextConnection> getUnusedRandConnList(Map<Integer, List<SFTextConnection>> map, List<Integer> usedKeys) {
      		// omitting code
      		...
      		
      	}
      
      
      	private ParameterizedRowMapper<SFTextConnection> createSimpleSearchSFTextConnectionRowMapper(final int userId) {
      		return new ParameterizedRowMapper<SFTextConnection>() {
      			public SFTextConnection mapRow(ResultSet rs, int rowNum) throws SQLException {
      				
      				// omitting code
      				...
      				
      				return new SFTextConnection(source, target, userId, Core.DEFAULT_CONNECTION_STRENGTH, successProfileId);
      			}
      		};
      	}
      	
      
      	
      	
      }
      Last edited by fipsn; Oct 19th, 2009, 04:28 AM.

      Comment


      • #4
        I have tried to tweak the "Secured" sample in the 1.0.1 Test Drive to mimic your setup as closely as possible, and I'm still not able to reproduce the error.

        One other thing I just noticed is that you are calling:
        Code:
        var token:AsyncToken = openSearchEngineService_.simpleSearchByText( "text" );
        from ActionScript, but you don't have a matching method signature in your OpenSearchEngine Java code. The closest thing you've got is:
        Code:
        public List<SFTextConnection> simpleSearchByText(int userId, String query, int rowCount)
        Could this be the problem, or did you just mis-type the example?

        If that's not the problem, then I am at a loss without being able to actually test your code directly. If you can reproduce the problem in a scaled down example that you can attach to a Jira issue (perhaps even just by modifying the Test Drive), then I'd be happy to take a further look.

        Comment


        • #5
          Originally posted by jeremyg484 View Post
          I have tried to tweak the "Secured" sample in the 1.0.1 Test Drive to mimic your setup as closely as possible, and I'm still not able to reproduce the error.

          One other thing I just noticed is that you are calling:
          Code:
          var token:AsyncToken = openSearchEngineService_.simpleSearchByText( "text" );
          from ActionScript, but you don't have a matching method signature in your OpenSearchEngine Java code. The closest thing you've got is:
          Code:
          public List<SFTextConnection> simpleSearchByText(int userId, String query, int rowCount)
          Could this be the problem, or did you just mis-type the example?
          i just mis-typed the example - my error

          If that's not the problem, then I am at a loss without being able to actually test your code directly. If you can reproduce the problem in a scaled down example that you can attach to a Jira issue (perhaps even just by modifying the Test Drive), then I'd be happy to take a further look.
          i tried to run the test drive, but was not able to import it into eclipse correctly.
          is there anywhere an example including the eclipse project file as well as the used libs? (and this without maven? i'm not used to maven and do not really have the time to get into it).

          thx anyway for your help!

          Comment


          • #6
            Ok, I've put a pre-built version of the Test Drive here:
            http://static.springsource.org/sprin....1.RELEASE.zip

            Unzip it and point to the resulting directory from Eclipse's "Import... -> General -> Existing Projects Into Workspace" dialog and it should pick up everything.

            Comment


            • #7
              hey, thanks. i'll import it and adapt it to my example app.
              i hope adapting my example works without the given error...

              greets

              Comment


              • #8
                so, now i imported my existing classes into the testdrive.
                but my secured beans do not even work yet.

                but i think i have located the error: it must be my jdbc DAO, that derive from NamedParameterJdbcDaoSupport. securing beans with method interception that derive from NamedParameterJdbcDaoSupport does not work in my example.

                because when i try to access any other secured bean, the error is not thrown!

                i tried to access the securedProductDAO (from the testdrive) and it worked. i've modified this bean, to access my mysql db, and it worked as well!
                i also made a test bean, which just returns a given value, without accessing the db - and it worked as well! no "Server.ResourceUnavailable - Method not found" is thrown.

                so it must be a problem with accessing NamedParameterJdbcDaoSupport beans, because that's where the errorr occurs.

                when testing my beans with security interception locally with junit, there happens the following exception:

                Code:
                Caught exception while allowing TestExecutionListener [org.springframewor[email protected]18352d8] to prepare test instance [[email protected]]
                org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entity.TestDAOTest': Injection of resource fields failed; nested exception is org.springframework.beans.factory.BeanNotOfRequiredTypeException: Bean named 'securedTestDAO' must be of type [dao.jdbc.TestDAO], but was actually of type [$Proxy13]
                	at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.postProcessAfterInstantiation(CommonAnnotationBeanPostProcessor.java:292)
                	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:959)
                	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireBeanProperties(AbstractAutowireCapableBeanFactory.java:329)
                	at org.springframework.test.context.support.DependencyInjectionTestExecutionListener.injectDependencies(DependencyInjectionTestExecutionListener.java:110)
                	at org.springframework.test.context.support.DependencyInjectionTestExecutionListener.prepareTestInstance(DependencyInjectionTestExecutionListener.java:75)
                	at org.springframework.test.context.TestContextManager.prepareTestInstance(TestContextManager.java:255)
                	at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.createTest(SpringJUnit4ClassRunner.java:111)
                	at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.invokeTestMethod(SpringJUnit4ClassRunner.java:148)
                	at org.junit.internal.runners.JUnit4ClassRunner.runMethods(JUnit4ClassRunner.java:59)
                	at org.junit.internal.runners.JUnit4ClassRunner$1.run(JUnit4ClassRunner.java:52)
                	at org.junit.internal.runners.ClassRoadie.runUnprotected(ClassRoadie.java:34)
                	at org.junit.internal.runners.ClassRoadie.runProtected(ClassRoadie.java:44)
                	at org.junit.internal.runners.JUnit4ClassRunner.run(JUnit4ClassRunner.java:50)
                	at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:97)
                	at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:45)
                	at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
                	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:460)
                	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:673)
                	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:386)
                	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196)
                Caused by: org.springframework.beans.factory.BeanNotOfRequiredTypeException: Bean named 'securedTestDAO' must be of type [dao.jdbc.TestDAO], but was actually of type [$Proxy13]
                	at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:322)
                	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)
                	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:168)
                	at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.autowireResource(CommonAnnotationBeanPostProcessor.java:435)
                	at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.getResource(CommonAnnotationBeanPostProcessor.java:409)
                	at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor$ResourceElement.getResourceToInject(CommonAnnotationBeanPostProcessor.java:537)
                	at org.springframework.beans.factory.annotation.InjectionMetadata$InjectedElement.inject(InjectionMetadata.java:180)
                	at org.springframework.beans.factory.annotation.InjectionMetadata.injectFields(InjectionMetadata.java:105)
                	at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.postProcessAfterInstantiation(CommonAnnotationBeanPostProcessor.java:289)
                	... 19 more
                java.lang.NoSuchMethodError: org.junit.runner.notification.RunNotifier.testAborted(Lorg/junit/runner/Description;Ljava/lang/Throwable;)V
                	at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.invokeTestMethod(SpringJUnit4ClassRunner.java:155)
                	at org.junit.internal.runners.JUnit4ClassRunner.runMethods(JUnit4ClassRunner.java:59)
                	at org.junit.internal.runners.JUnit4ClassRunner$1.run(JUnit4ClassRunner.java:52)
                	at org.junit.internal.runners.ClassRoadie.runUnprotected(ClassRoadie.java:34)
                	at org.junit.internal.runners.ClassRoadie.runProtected(ClassRoadie.java:44)
                	at org.junit.internal.runners.JUnit4ClassRunner.run(JUnit4ClassRunner.java:50)
                	at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:97)
                	at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:45)
                	at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
                	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:460)
                	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:673)
                	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:386)
                	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196)


                i also tested the securedProductDAO bean (from the testdrive) with junit but it worked neither. there the same exception is thrown. so this test is not that meaningful for my problem. but maybe someone knows anything about it.
                maybe junit needs a different config and somebody can help me.


                i cannot change all my DAOs beacuse of this exception - because all my DAOs derive from NamedParameterJdbcDaoSupport. that would be huge design issue.
                i also tested my app with a DAO that derived from SimpleJdbcDaoSupport but it worked neither. so it do not know, what to do now. i want to use the existing classes from spring for my DAOs, but securing them does not work...

                do you have any clue, jeremy? any other help from any other member is of course appreciated as well!

                Comment


                • #9
                  Originally posted by jeremyg484 View Post
                  I have tried to tweak the "Secured" sample in the 1.0.1 Test Drive to mimic your setup as closely as possible, and I'm still not able to reproduce the error.
                  have you used NamedParameterJdbcDaoSupport as DAO in your tweaked example app?
                  if so, could you upload it anywhere config/app?

                  greets & thx

                  Comment


                  • #10
                    Problem solved

                    For any of you following this thread - i finally solved this issue.

                    The problem was the following:
                    Unfortunately I included the spring jars in multiple versions in my libs folder. And it so it seems, that this caused some conflicts or rather said threw the given error.
                    So I cleaned up my libs folder, that just one version of each spring module was included and it worked!

                    Comment

                    Working...
                    X