Skip to content

Commit

Permalink
ZCS-14885: Getting Exception in thread main java.lang.NoClassDefFound…
Browse files Browse the repository at this point in the history
…Error: while running utility zmmboxsearch
  • Loading branch information
swathy-shaji committed Apr 2, 2024
1 parent cd7d68b commit 4cdaa48
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions ivy.xml
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,11 @@
<dependency org="org.apache.james" name="apache-mime4j-core" rev="0.8.7"/>
<dependency org="jakarta.json" name="jakarta.json-api" rev="2.1.3"/>
<dependency org="org.eclipse.parsson" name="jakarta.json" rev="1.1.5"/>
<!-- Required this jar in runtime. We are using the same jar since long time.
But we didn't encounter any issues. But after integrating some cache things with licensing,
we need this jar in the classpath at runtime
-->
<dependency org="com.google.guava" name="failureaccess" rev="1.0.1"/>
<exclude org="com.noelios.restlet" module="com.noelios.restlet"/>
<exclude org="javax.sql" module="jdbc-stdext"/>
<exclude org="javax.transaction" module="jta"/>
Expand Down
1 change: 1 addition & 0 deletions pkg-builder.pl
Original file line number Diff line number Diff line change
Expand Up @@ -231,6 +231,7 @@ ($)
cpy_file("build/dist/apache-jsp-9.4.46.v20220331.jar", "$stage_base_dir/opt/zimbra/lib/jars/apache-jsp-9.4.46.v20220331.jar");
cpy_file("build/dist/UserAgentUtils-1.21.jar", "$stage_base_dir/opt/zimbra/lib/jars/UserAgentUtils-1.21.jar");
cpy_file("build/dist/tika-core-1.24.1.jar", "$stage_base_dir/opt/zimbra/lib/jars/tika-core-1.24.1.jar");
cpy_file("build/dist/failureaccess-1.0.1.jar", "$stage_base_dir/opt/zimbra/lib/jars/failureaccess-1.0.1.jar");
cpy_file("build/dist/apache-mime4j-core-0.8.7.jar", "$stage_base_dir/opt/zimbra/lib/jars/apache-mime4j-core-0.8.7.jar");
cpy_file("build/dist/zmlocalconfig", "$stage_base_dir/opt/zimbra/lib/patches/localconfig/zmlocalconfig");
return ["."];
Expand Down

0 comments on commit 4cdaa48

Please sign in to comment.