java.lang.NullPointerException
applicationContext.xml
<?xml version="1.0" encoding="UTF-8"?>
<beans
xmlns="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.0.xsd">
<bean id="datasource"
class="org.apache.commons.dbcp.BasicDataSource">
<property name="driverClassName"
value="com.microsoft.sqlserver.jdbc.SQLServerDriver">
</property>
<property name="url"
value="jdbc:sqlserver://localhost:1433;databaseName=epet">
</property>
<property name="username" value="sa"></property>
<property name="password" value="sa"></property>
</bean>
<bean id="sessionFactory"
class="org.springframework.orm.hibernate3.LocalSessionFactoryBean">
<property name="dataSource">
<ref bean="datasource" />
</property>
<property name="hibernateProperties">
<props>
<prop key="hibernate.dialect">
org.hibernate.dialect.SQLServerDialect
</prop>
<prop key="show_sql">true</prop>
</props>
</property>
<property name="mappingResources">
<list>
<value>entity/CstCustomer.hbm.xml</value>
<value>entity/CstLinkman.hbm.xml</value>
<value>entity/CstService.hbm.xml</value>
<value>entity/CstActivity.hbm.xml</value>
<value>entity/CstLost.hbm.xml</value>
<value>entity/BasDict.hbm.xml</value>
<value>entity/SalChance.hbm.xml</value>
<value>entity/SalPlan.hbm.xml</value>
<value>entity/SysRoleRight.hbm.xml</value>
<value>entity/SysUser.hbm.xml</value>
<value>entity/SysRight.hbm.xml</value>
<value>entity/SysRole.hbm.xml</value>
<value>entity/Storage.hbm.xml</value>
<value>entity/Product.hbm.xml</value>
<value>entity/OrdersLine.hbm.xml</value>
<value>entity/Orders.hbm.xml</value>
<value>entity/Sysdiagrams.hbm.xml</value></list>
</property>
</bean> <bean id="logindao" class="dao.impl.Logindao" abstract="false"
lazy-init="default" autowire="default" dependency-check="default">
<property name="sessionFactory">
<ref bean="sessionFactory" />
</property>
</bean>

<bean id="loginbiz" class="biz.impl.LoginbizImpl" abstract="false"
lazy-init="default" autowire="default" dependency-check="default">
<property name="login">
<ref bean="logindao" />
</property>
</bean>

<bean name="/login" class="com.crm.struts.action.LoginAction"
abstract="false" lazy-init="default" autowire="default"
dependency-check="default">
<property name="loginbiz">
<ref bean="loginbiz" />
</property>
</bean>

</beans>