title: CalEventServiceUtil cannot be resolved
body: <p>I have downloaded the <a href="http://www.liferay.com/it/marketplace/-/mp/application/17267068" rel="nofollow">Upcoming Events</a> portlet and I have done a few changes and I deployed the portlet to Liferay 6.2. </p>
  
  <p>I get this error:</p>
  
  <pre><code>Unable to compile class for JSP: 
  
  An error occurred at line: [36] in the generated java file: [D:\Liferay\Test\tomcat-7.0.42\work\Catalina\localhost\upcoming-events-portlet\org\apache\jsp\view_jsp.java]
  Only a type can be imported. com.liferay.portlet.calendar.service.CalEventServiceUtil resolves to a package
  
  An error occurred at line: 79 in the jsp file: /view.jsp
  CalEventServiceUtil cannot be resolved
  </code></pre>
  
  <p>The line 36 of generated file:</p>
  
  <pre><code>import com.liferay.portlet.calendar.service.CalEventServiceUtil;
  </code></pre>
  
  <p>The line 79 of /view.jsp:</p>
  
  <pre><code>lstEvents = CalEventServiceUtil.getEvents(scopeGroupId, gregCal, new String());
  </code></pre>
  
  <p>I have to add some library to project, but which one?<br/>
  Any help is appreciated! Thank you! </p>