spring error when adding bean to a panel
This commit is contained in:
parent
7518bc62cd
commit
64c8be3954
src/main/java/se/su/dsv/scipro
@ -20,6 +20,8 @@ public class ProjectIdeaStatisticsPanel extends Panel {
|
||||
// @SpringBean
|
||||
// ProjectIdeaRepo projectIdeaRepo;
|
||||
|
||||
// @SpringBean
|
||||
// private ProjectIdeaServiceImpl projectIdeaService;
|
||||
|
||||
public ProjectIdeaStatisticsPanel(String id) {
|
||||
super(id);
|
||||
|
@ -3,6 +3,8 @@ package se.su.dsv.scipro.springdata.serviceimpls;
|
||||
import com.mysema.query.types.expr.BooleanExpression;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.beans.factory.annotation.Qualifier;
|
||||
import org.springframework.stereotype.Repository;
|
||||
import org.springframework.transaction.annotation.Transactional;
|
||||
import se.su.dsv.scipro.match.dataobject.ProjectIdea;
|
||||
import se.su.dsv.scipro.match.dataobject.QProjectIdea;
|
||||
import se.su.dsv.scipro.springdata.repos.ProjectIdeaRepo;
|
||||
@ -14,6 +16,8 @@ import java.util.Date;
|
||||
* @author: fred-fri
|
||||
* date: 2012 03 26
|
||||
*/
|
||||
@Repository
|
||||
@Transactional(readOnly = true)
|
||||
public class ProjectIdeaServiceImpl implements ProjectIdeaService {
|
||||
|
||||
@Qualifier("projectIdeaRepo")
|
||||
|
Loading…
x
Reference in New Issue
Block a user