-1
votes
1answer
11 views
java.lang.NullPointerException at org.apache.ibatis.session.SqlSessionFactoryBuilder.build while running over a karaf
Getting below exception while running sample application in karaf.
have placed the maven build jar inside servicemix/deploy.
Please help as i am new to camel,mybatis and servicemix
...
0
votes
2answers
13 views
Spring beans DTD and XMLNS
When i am creating a spring project I always have problem with XLMNS. what is exactly XMLNS?
what are these actually?
<beans xmlns="http://www.springframework.org/schema/beans"
...
0
votes
0answers
12 views
Apache Tuscany still relevant? [on hold]
It seems as though development has ground to a holt with Tuscany. Is this technology still relevant or has it been replaced with something else?
Thanks
0
votes
1answer
28 views
Implementing Dependency Injection using Custom Annotation
I am working on a core java framework. I don't want to create instances directly inside the class which is why I want to use dependency injection.
I am thinking of declaring my custom annotations on ...
0
votes
1answer
36 views
spring bean properties with singleton
Need clarification on spring singleton .I have three objects ,these are readonly so never changed values.
I am planning to create these objects with singleton bean as properties.
My question: When ...
0
votes
1answer
8 views
Error creating bean with name 'entityManagerFactory' -> Cannot parse persistence unit from class path resource [META-INF/persistence.xml]
I have this problem in my j2e application and I can't find any solution.
Build was successful but there is thrown runtime exception. I tried many advices from google but nothing can solve my problem.
...
0
votes
2answers
22 views
Spring injecting or autowiring datasource bean to class
this may be a very novice question, but I have searched and either I have a large gap in my understanding or am doing something incorrectly that I cannot figure out.
In my context file here is an ...
0
votes
1answer
20 views
Spring 3.2 Security - Login with non-unique username and additional info
The title tries to explain the scenario:
This customer has a login functionality that allows users with the same name but on different locations (stores).
At the login page the user informs ...
0
votes
0answers
10 views
spring security oauth upgrade
I am trying to upgrade some of the spring security packages and there is OAUTH package which is being used in our system.
I am trying to upgrade spring-security to 3.1.4 and OAUTH version available ...
0
votes
1answer
25 views
Spring MVC Application Exception
I’m just new to Spring, stuck up with some error past two days. Would like somebody to help and solve the problem. Also I googled the error but could not understand the root cause of the error.
...
-1
votes
0answers
78 views
mvc flow control and multiple exception throws and re throws several times with nested exceptions
I have a spring and hibernate based mvc web application.
The service class may call many dao methods and many other service methods like itself.
Each method may throw multiple exceptions or ...
0
votes
0answers
23 views
Spring 3.2 Error when start tomcat server 7 - BeanFactory not initialized or already closed
I have this problem when I start tomcat 7:
SEVERE: Exception sending context destroyed event to listener instance of class
org.springframework.web.context.ContextLoaderListener
...
0
votes
4answers
57 views
rest framework in java - advice [on hold]
I have to create a rest backend and Im not sure about which framework choose (I think Ill use spring), I have the following requirements.
Resource uri suppor out of the box, I mean when and object A ...
0
votes
1answer
20 views
Deploying Spring Web Applicaiton To JBoss WebApplicationContext Exceptions
When deploying a Spring Web Application to JBoss 7.1.1, gives the following Exception:
12:26:58,053 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/i]] (MSC service thread ...
0
votes
0answers
23 views
testing with testNG, spring and hsqldb
i'm trying to test an application with an emmbedded memory database, hsqldb version 2.2.8.
this my test class, where i have a mistake that i don't know how to solve it.
@Transactional
...