You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by da...@apache.org on 2017/02/24 12:39:43 UTC

camel git commit: CAMEL-10859 - doc update for noclassdef found in classpath

Repository: camel
Updated Branches:
  refs/heads/master 937d86a63 -> b2bf0520c


CAMEL-10859 - doc update for noclassdef found in classpath


Project: http://git-wip-us.apache.org/repos/asf/camel/repo
Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/b2bf0520
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/b2bf0520
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/b2bf0520

Branch: refs/heads/master
Commit: b2bf0520cf892317e0309ea7c3261306ce4e146f
Parents: 937d86a
Author: Claus Ibsen <da...@apache.org>
Authored: Fri Feb 24 13:39:20 2017 +0100
Committer: Claus Ibsen <da...@apache.org>
Committed: Fri Feb 24 13:39:20 2017 +0100

----------------------------------------------------------------------
 components/camel-jasypt/src/main/docs/jasypt.adoc | 3 +++
 1 file changed, 3 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/b2bf0520/components/camel-jasypt/src/main/docs/jasypt.adoc
----------------------------------------------------------------------
diff --git a/components/camel-jasypt/src/main/docs/jasypt.adoc b/components/camel-jasypt/src/main/docs/jasypt.adoc
index 41b2f26..8497447 100644
--- a/components/camel-jasypt/src/main/docs/jasypt.adoc
+++ b/components/camel-jasypt/src/main/docs/jasypt.adoc
@@ -86,6 +86,9 @@ The idea is then to use those encrypted values in your
 link:properties.html[Properties] files. Notice how the password value is
 encrypted and the value has the tokens surrounding `ENC(value here)`
 
+TIP: When running jasypt tooling, if you come across `java.lang.NoClassDefFoundError: org/jasypt/encryption/pbe/StandardPBEStringEncryptor` this means you have to include jasypt{version}.jar in your classpath. Example of adding jar to classpath may be copying jasypt{version}.jar to $JAVA_HOME\jre\lib\ext if you are going to run as `java -jar ...`. The latter may be adding jasypt{version}.jar to classpath using `-cp`, in that case you should provide main class to execute as eg: `java -cp jasypt-1.9.2.jar:camel-jasypt-2.18.2.jar org.apache.camel.component.jasypt.Main -c encrypt -p secret -i tiger`
+
+
 ### URI Options
 
 The options below are exclusive for the link:jasypt.html[Jasypt]