yasuflatland-lf / damascus

⚔️ CRUD boilerplate generator for Liferay DXP
https://yasuflatland-lf.github.io/damascus-doc/
GNU Lesser General Public License v3.0
50 stars 35 forks source link

SOLVED - Liferay 7.3.3-ce-ga4 - Damascus 1.1.6 - Todo portlet - Download action - java.lang.ClassNotFoundException #109

Closed icarrara closed 2 years ago

icarrara commented 4 years ago

Create one or more entry in Todo portlet, both Admin and User mode.

In view list of entries select one or more entries.

Then click the Download link - you get the below error:

Caused by: java.lang.ClassNotFoundException: org.apache.commons.math3.util.ArithmeticUtils cannot be found by com.liferay.sb.test.web_1.0.0

icarrara commented 4 years ago

Same issue in Liferay 7.3.4-ce-ga5

icarrara commented 2 years ago

SOLVED.

@yasuflatland-lf Please could you include the change in the project?

Added @commons-math3-*.jar,\ in the -includeresource: section, as below full code:

`#

Bundle-Name: todo-web Bundle-SymbolicName: com.liferay.sb.test.web Bundle-Version: 1.0.0 Import-Package:\ !com.google.,\ !com.graphbuilder.,\ !com.microsoft.,\ !org.apache.,\ !org.bouncycastle.,\ !org.etsi.uri.,\ !org.openxmlformats.,\ !com.zaxxer.,\ Web-ContextPath: /todo-web -dsannotations-options: inherit -includeresource:\ @commons-math3-.jar,\ @poi-.jar,\ @poi-ooxml-.jar,\ @poi-ooxml-schemas-.jar -metatype: `