Bug 533313 - index.jsp is missing includes
Summary: index.jsp is missing includes
Status: NEW
Alias: None
Product: Lyo
Classification: Technology
Component: Tools (show other bugs)
Version: 2.3.0   Edit
Hardware: PC Mac OS X
: P3 normal (vote)
Target Milestone: 2.x.x   Edit
Assignee: Jad El-khoury CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-04-06 10:11 EDT by Andrii Berezovskyi CLA
Modified: 2018-04-06 11:29 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrii Berezovskyi CLA 2018-04-06 10:11:35 EDT

    
Comment 1 Andrii Berezovskyi CLA 2018-04-06 10:12:12 EDT
<%@ page import="javax.ws.rs.core.UriBuilder" %>
<%@ page import="org.eclipse.lyo.oslc4j.core.OSLC4JUtils" %>


were missing and that led to:

org.apache.jasper.JasperException: Unable to compile class for JSP: 

An error occurred at line: 57 in the jsp file: /index.jsp
UriBuilder cannot be resolved
54:             available Service Providers
55:             .</p>
56:         <p class="lead">
57:             <a class="btn btn-primary btn-lg" href="<%= UriBuilder.fromUri(OSLC4JUtils.getServletURI()).path("/catalog/singleton").build() %>" role="button">Service Provider
58:                 Catalog</a>
59:         </p>
60:     </div>
Comment 2 Andrii Berezovskyi CLA 2018-04-06 11:29:48 EDT
Okay, I missed the fact that the file is not regenerated again. Was solved by removing the whole 

<%--
Start of user code "indexBody"
--%>

...

<%--
End of user code
--%>


block of code and then it was regenerated -- no need to delete the whole file.