2 Replies Latest reply on Jan 16, 2011 1:05 AM by Kris Verlaenen

    jBPM5 Human Task Service Start Up error

    Atanu Sen Newbie

      I am getting the following compilation error while starting the HT service. Any help in resolving this will be appreciated.

       

      Thanks.

       

       

          [javac]                              ^

          [javac] C:\jBPM\jbpm-installer\task-service\src\org\jbpm\DemoTaskService.jav

      a:33: package org.jbpm.task.service does not exist

          [javac] import org.jbpm.task.service.TaskServiceSession;

          [javac]                              ^

          [javac] C:\jBPM\jbpm-installer\task-service\src\org\jbpm\DemoTaskService.jav

      a:34: package org.jbpm.task.service.mina does not exist

          [javac] import org.jbpm.task.service.mina.MinaTaskServer;

          [javac]                                   ^

          [javac] C:\jBPM\jbpm-installer\task-service\src\org\jbpm\DemoTaskService.jav

      a:35: package org.drools does not exist

          [javac] import org.drools.SystemEventListenerFactory;

          [javac]                   ^

          [javac] C:\jBPM\jbpm-installer\task-service\src\org\jbpm\DemoTaskService.jav

      a:36: package org.mvel2 does not exist

          [javac] import org.mvel2.MVEL;

          [javac]                  ^

          [javac] C:\jBPM\jbpm-installer\task-service\src\org\jbpm\DemoTaskService.jav

      a:37: package org.mvel2 does not exist

          [javac] import org.mvel2.ParserContext;

          [javac]                  ^

          [javac] C:\jBPM\jbpm-installer\task-service\src\org\jbpm\DemoTaskService.jav

      a:38: package org.mvel2.compiler does not exist

          [javac] import org.mvel2.compiler.ExpressionCompiler;

          [javac]                           ^

          [javac] C:\jBPM\jbpm-installer\task-service\src\org\jbpm\DemoTaskService.jav

      a:43: cannot find symbol

          [javac] symbol  : class EntityManagerFactory

          [javac] location: class org.jbpm.DemoTaskService

          [javac]         EntityManagerFactory emf = Persistence.createEntityManagerFa

      ctory("org.jbpm.task");

          [javac]         ^

          [javac] C:\jBPM\jbpm-installer\task-service\src\org\jbpm\DemoTaskService.jav

      a:43: cannot find symbol

          [javac] symbol  : variable Persistence

          [javac] location: class org.jbpm.DemoTaskService

          [javac]         EntityManagerFactory emf = Persistence.createEntityManagerFa

      ctory("org.jbpm.task");

          [javac]                                    ^

          [javac] C:\jBPM\jbpm-installer\task-service\src\org\jbpm\DemoTaskService.jav

      a:44: cannot find symbol

          [javac] symbol  : class TaskService

          [javac] location: class org.jbpm.DemoTaskService

          [javac]         TaskService taskService = new TaskService(emf, SystemEventLi

      stenerFactory.getSystemEventListener());

          [javac]         ^

          [javac] C:\jBPM\jbpm-installer\task-service\src\org\jbpm\DemoTaskService.jav

      a:44: cannot find symbol

          [javac] symbol  : class TaskService

          [javac] location: class org.jbpm.DemoTaskService

          [javac]         TaskService taskService = new TaskService(emf, SystemEventLi

      stenerFactory.getSystemEventListener());

          [javac]                                       ^

          [javac] C:\jBPM\jbpm-installer\task-service\src\org\jbpm\DemoTaskService.jav

      a:44: cannot find symbol

          [javac] symbol  : variable SystemEventListenerFactory

          [javac] location: class org.jbpm.DemoTaskService

          [javac]         TaskService taskService = new TaskService(emf, SystemEventLi

      stenerFactory.getSystemEventListener());

          [javac]                                                        ^

          [javac] C:\jBPM\jbpm-installer\task-service\src\org\jbpm\DemoTaskService.jav

      a:45: cannot find symbol

          [javac] symbol  : class TaskServiceSession

          [javac] location: class org.jbpm.DemoTaskService

          [javac]         TaskServiceSession taskSession = taskService.createSession()

      ;

          [javac]         ^

          [javac] C:\jBPM\jbpm-installer\task-service\src\org\jbpm\DemoTaskService.jav

      a:49: cannot find symbol

          [javac] symbol  : class User

          [javac] location: class org.jbpm.DemoTaskService

          [javac]         Map<String, User> users = ( Map<String, User> ) eval( reader

      , vars );

          [javac]                     ^

          [javac] C:\jBPM\jbpm-installer\task-service\src\org\jbpm\DemoTaskService.jav

      a:49: cannot find symbol

          [javac] symbol  : class User

          [javac] location: class org.jbpm.DemoTaskService

          [javac]         Map<String, User> users = ( Map<String, User> ) eval( reader

      , vars );

          [javac]                                                 ^

          [javac] C:\jBPM\jbpm-installer\task-service\src\org\jbpm\DemoTaskService.jav

      a:49: warning: [unchecked] unchecked cast

          [javac] found   : java.lang.Object

          [javac] required: java.util.Map<java.lang.String,User>

          [javac]         Map<String, User> users = ( Map<String, User> ) eval( reader

      , vars );

          [javac]                                                             ^

          [javac] C:\jBPM\jbpm-installer\task-service\src\org\jbpm\DemoTaskService.jav

      a:50: cannot find symbol

          [javac] symbol  : class User

          [javac] location: class org.jbpm.DemoTaskService

          [javac]         for ( User user : users.values() ) {

          [javac]               ^

          [javac] C:\jBPM\jbpm-installer\task-service\src\org\jbpm\DemoTaskService.jav

      a:54: cannot find symbol

          [javac] symbol  : class Group

          [javac] location: class org.jbpm.DemoTaskService

          [javac]         Map<String, Group> groups = ( Map<String, Group> ) eval( rea

      der, vars );

          [javac]                     ^

          [javac] C:\jBPM\jbpm-installer\task-service\src\org\jbpm\DemoTaskService.jav

      a:54: cannot find symbol

          [javac] symbol  : class Group

          [javac] location: class org.jbpm.DemoTaskService

          [javac]         Map<String, Group> groups = ( Map<String, Group> ) eval( rea

      der, vars );

          [javac]                                                   ^

          [javac] C:\jBPM\jbpm-installer\task-service\src\org\jbpm\DemoTaskService.jav

      a:54: warning: [unchecked] unchecked cast

          [javac] found   : java.lang.Object

          [javac] required: java.util.Map<java.lang.String,Group>

          [javac]         Map<String, Group> groups = ( Map<String, Group> ) eval( rea

      der, vars );

          [javac]                                                                ^

          [javac] C:\jBPM\jbpm-installer\task-service\src\org\jbpm\DemoTaskService.jav

      a:55: cannot find symbol

          [javac] symbol  : class Group

          [javac] location: class org.jbpm.DemoTaskService

          [javac]         for ( Group group : groups.values() ) {

          [javac]               ^

          [javac] C:\jBPM\jbpm-installer\task-service\src\org\jbpm\DemoTaskService.jav

      a:59: cannot find symbol

          [javac] symbol  : class MinaTaskServer

          [javac] location: class org.jbpm.DemoTaskService

          [javac]         MinaTaskServer server = new MinaTaskServer(taskService);

          [javac]         ^

          [javac] C:\jBPM\jbpm-installer\task-service\src\org\jbpm\DemoTaskService.jav

      a:59: cannot find symbol

          [javac] symbol  : class MinaTaskServer

          [javac] location: class org.jbpm.DemoTaskService

          [javac]         MinaTaskServer server = new MinaTaskServer(taskService);

          [javac]                                     ^

          [javac] C:\jBPM\jbpm-installer\task-service\src\org\jbpm\DemoTaskService.jav

      a:86: cannot find symbol

          [javac] symbol  : class ExpressionCompiler

          [javac] location: class org.jbpm.DemoTaskService

          [javac]         ExpressionCompiler compiler = new ExpressionCompiler( str.tr

      im() );

          [javac]         ^

          [javac] C:\jBPM\jbpm-installer\task-service\src\org\jbpm\DemoTaskService.jav

      a:86: cannot find symbol

          [javac] symbol  : class ExpressionCompiler

          [javac] location: class org.jbpm.DemoTaskService

          [javac]         ExpressionCompiler compiler = new ExpressionCompiler( str.tr

      im() );

          [javac]                                           ^

          [javac] C:\jBPM\jbpm-installer\task-service\src\org\jbpm\DemoTaskService.jav

      a:88: cannot find symbol

          [javac] symbol  : class ParserContext

          [javac] location: class org.jbpm.DemoTaskService

          [javac]         ParserContext context = new ParserContext();

          [javac]         ^

          [javac] C:\jBPM\jbpm-installer\task-service\src\org\jbpm\DemoTaskService.jav

      a:88: cannot find symbol

          [javac] symbol  : class ParserContext

          [javac] location: class org.jbpm.DemoTaskService

          [javac]         ParserContext context = new ParserContext();

          [javac]                                     ^

          [javac] C:\jBPM\jbpm-installer\task-service\src\org\jbpm\DemoTaskService.jav

      a:92: cannot find symbol

          [javac] symbol  : class AccessType

          [javac] location: class org.jbpm.DemoTaskService

          [javac]         context.addImport( "AccessType", AccessType.class );

          [javac]                                          ^

          [javac] C:\jBPM\jbpm-installer\task-service\src\org\jbpm\DemoTaskService.jav

      a:93: cannot find symbol

          [javac] symbol  : class AllowedToDelegate

          [javac] location: class org.jbpm.DemoTaskService

          [javac]         context.addImport( "AllowedToDelegate", AllowedToDelegate.cl

      ass );

          [javac]                                                 ^

          [javac] C:\jBPM\jbpm-installer\task-service\src\org\jbpm\DemoTaskService.jav

      a:94: cannot find symbol

          [javac] symbol  : class Attachment

          [javac] location: class org.jbpm.DemoTaskService

          [javac]         context.addImport( "Attachment", Attachment.class );

          [javac]                                          ^

          [javac] C:\jBPM\jbpm-installer\task-service\src\org\jbpm\DemoTaskService.jav

      a:95: cannot find symbol

          [javac] symbol  : class BooleanExpression

          [javac] location: class org.jbpm.DemoTaskService

          [javac]         context.addImport( "BooleanExpression", BooleanExpression.cl

      ass );

          [javac]                                                 ^

          [javac] C:\jBPM\jbpm-installer\task-service\src\org\jbpm\DemoTaskService.jav

      a:96: cannot find symbol

          [javac] symbol  : class Comment

          [javac] location: class org.jbpm.DemoTaskService

          [javac]         context.addImport( "Comment", Comment.class );

          [javac]                                       ^

          [javac] C:\jBPM\jbpm-installer\task-service\src\org\jbpm\DemoTaskService.jav

      a:97: cannot find symbol

          [javac] symbol  : class Deadline

          [javac] location: class org.jbpm.DemoTaskService

          [javac]         context.addImport( "Deadline", Deadline.class );

          [javac]                                        ^

          [javac] C:\jBPM\jbpm-installer\task-service\src\org\jbpm\DemoTaskService.jav

      a:98: cannot find symbol

          [javac] symbol  : class Deadlines

          [javac] location: class org.jbpm.DemoTaskService

          [javac]         context.addImport( "Deadlines", Deadlines.class );

          [javac]                                         ^

          [javac] C:\jBPM\jbpm-installer\task-service\src\org\jbpm\DemoTaskService.jav

      a:99: cannot find symbol

          [javac] symbol  : class Delegation

          [javac] location: class org.jbpm.DemoTaskService

          [javac]         context.addImport( "Delegation", Delegation.class );

          [javac]                                          ^

          [javac] C:\jBPM\jbpm-installer\task-service\src\org\jbpm\DemoTaskService.jav

      a:100: cannot find symbol

          [javac] symbol  : class Escalation

          [javac] location: class org.jbpm.DemoTaskService

          [javac]         context.addImport( "Escalation", Escalation.class );

          [javac]                                          ^

          [javac] C:\jBPM\jbpm-installer\task-service\src\org\jbpm\DemoTaskService.jav

      a:101: cannot find symbol

          [javac] symbol  : class Group

          [javac] location: class org.jbpm.DemoTaskService

          [javac]         context.addImport( "Group", Group.class );

          [javac]                                     ^

          [javac] C:\jBPM\jbpm-installer\task-service\src\org\jbpm\DemoTaskService.jav

      a:102: cannot find symbol

          [javac] symbol  : class I18NText

          [javac] location: class org.jbpm.DemoTaskService

          [javac]         context.addImport( "I18NText", I18NText.class );

          [javac]                                        ^

          [javac] C:\jBPM\jbpm-installer\task-service\src\org\jbpm\DemoTaskService.jav

      a:103: cannot find symbol

          [javac] symbol  : class Notification

          [javac] location: class org.jbpm.DemoTaskService

          [javac]         context.addImport( "Notification", Notification.class );

          [javac]                                            ^

          [javac] C:\jBPM\jbpm-installer\task-service\src\org\jbpm\DemoTaskService.jav

      a:104: cannot find symbol

          [javac] symbol  : class OrganizationalEntity

          [javac] location: class org.jbpm.DemoTaskService

          [javac]         context.addImport( "OrganizationalEntity", OrganizationalEnt

      ity.class );

          [javac]                                                    ^

          [javac] C:\jBPM\jbpm-installer\task-service\src\org\jbpm\DemoTaskService.jav

      a:105: cannot find symbol

          [javac] symbol  : class PeopleAssignments

          [javac] location: class org.jbpm.DemoTaskService

          [javac]         context.addImport( "PeopleAssignments", PeopleAssignments.cl

      ass );

          [javac]                                                 ^

          [javac] C:\jBPM\jbpm-installer\task-service\src\org\jbpm\DemoTaskService.jav

      a:106: cannot find symbol

          [javac] symbol  : class Reassignment

          [javac] location: class org.jbpm.DemoTaskService

          [javac]         context.addImport( "Reassignment", Reassignment.class );

          [javac]                                            ^

          [javac] C:\jBPM\jbpm-installer\task-service\src\org\jbpm\DemoTaskService.jav

      a:107: cannot find symbol

          [javac] symbol  : class Status

          [javac] location: class org.jbpm.DemoTaskService

          [javac]         context.addImport( "Status", Status.class );

          [javac]                                      ^

          [javac] C:\jBPM\jbpm-installer\task-service\src\org\jbpm\DemoTaskService.jav

      a:108: cannot find symbol

          [javac] symbol  : class Task

          [javac] location: class org.jbpm.DemoTaskService

          [javac]         context.addImport( "Task", Task.class );

          [javac]                                    ^

          [javac] C:\jBPM\jbpm-installer\task-service\src\org\jbpm\DemoTaskService.jav

      a:109: cannot find symbol

          [javac] symbol  : class TaskData

          [javac] location: class org.jbpm.DemoTaskService

          [javac]         context.addImport( "TaskData", TaskData.class );

          [javac]                                        ^

          [javac] C:\jBPM\jbpm-installer\task-service\src\org\jbpm\DemoTaskService.jav

      a:110: cannot find symbol

          [javac] symbol  : class TaskSummary

          [javac] location: class org.jbpm.DemoTaskService

          [javac]         context.addImport( "TaskSummary", TaskSummary.class );

          [javac]                                           ^

          [javac] C:\jBPM\jbpm-installer\task-service\src\org\jbpm\DemoTaskService.jav

      a:111: cannot find symbol

          [javac] symbol  : class User

          [javac] location: class org.jbpm.DemoTaskService

          [javac]         context.addImport( "User", User.class );

          [javac]                                    ^

          [javac] C:\jBPM\jbpm-installer\task-service\src\org\jbpm\DemoTaskService.jav

      a:113: cannot find symbol

          [javac] symbol  : variable MVEL

          [javac] location: class org.jbpm.DemoTaskService

          [javac]         return MVEL.executeExpression( compiler.compile( context ),

      vars );

          [javac]                ^

          [javac] 68 errors

          [javac] 2 warnings