Today, I investigated and built the newest Karaf Implementation(which also integrated the Felix Web Console into karaf's web console), and about the following topics,
>2 Based 1, we can select 3.1.6 or 3.1.8 or 4.0.0 , however, difference of the three versions is that After 4.0.0,
>Felix Web Console removed included three inner lib(json-20070829.jar, commons-io-1.4.jar and commons-fileupload-
>1.1.1.jar), and in order to access Felix Web Console, you must install and start the bundle form of the three inner
>lib. However, json-20070829.jar has not released a bundle form formally, of course, you can use apache geronimo
>published bundle form of the json lib or make a bundle form of the json yourself.
In current Karaf trunk sources, Karaf has used felix.webconsole 4.0.0, however, Karaf used a solution on which Karaf wrapped the source of felix.webconsole and the three inner lib(not osgi bundle form) into karaf's web console using maven-bundle-plugin's <Embed-Dependency> tag. Maybe this is a better solution.
<!-- Webconsole -->
<!-- Import/Export-Package parsing -->
<!-- ServiceTracker -->
<!-- Required for JSON data transfer -->
<!-- File Upload functionality -->
<!-- Required by FileUpload and Util -->
>Maybe this is not a good solution, but as a temp solution, I think this is enough because Base64 class is
>independent on other class.
Because Karaf wrapped the source of felix.webconsole into karaf's web console, it needs not copy the Base64 class.
I plan to try to use the solution to improve the integration, however, currently, because improving other contributions, I think that using the current my solution should also have no problem.