Add one line - <property name="packagesToScan" value="com" /> , like below -
<property name="hibernateProperties">
<props>
<prop key="hibernate.dialect">${hibernate.dialect}</prop>
<prop...
Type: Posts; User: kulkarnipb; Keyword(s):
Add one line - <property name="packagesToScan" value="com" /> , like below -
<property name="hibernateProperties">
<props>
<prop key="hibernate.dialect">${hibernate.dialect}</prop>
<prop...
SystemUtils class is present in the common lang jar -
org.apache.commons.lang.SystemUtils
I created a new class -
@Component("ss")
public class SampleClass {
@LogInfo(loggerClass = SampleClass.class)
public void myLogTest() {
System.out.println("####### Hi");
}
I read the chapter 6 , but still unable to figure out what is wrong in my code ?
1. My aspect is declared
2. Pointcut is also specified for an anotation @LogInfo
(I changed...
I want to print a log statement before every method execution .
I have developed below spring annotated aspect code for this, but it is not working . can anyone help to get this working ?
...
Version: Spring 2.6
I have a spring application deployed on weblogic server. All the spring config xmls are present in the classpath .
I want to change a spring bean in the psring xml file,
from...
I have a controller -
Controller
public class MyController {
RequestMapping ("/test.do")
public ModelMap MyTest(HttpSession session,HttpServletRequest req){
....