2 bug,2 advice
bug:
1.If the two projects exist in the same class, in debug mode, breakpoints by default to find the first class.
2.If the hibernate configuration file is. .
<bean id="sessionFactory" >
<property name="dataSource"><ref bean="dataSource"/></property>
<property name="mappingDirectoryLocations">
<list>
<value>WEB-INF/hibernate-mappings</value>
</list>
</property>

hql validation error, it can be shielded off.
advice:
1.In this [ctrl + n] [ctrl + alt + n] [ctrl + alt + shift + n] shortcut keys, if there is selected the contents of the edit window to the default?
2.When the ctrl + alt + F12 when you locate the file , and select and change the color.

请先登录再写评论。