2
當我試圖通過bin/geronino run
命令在Windows XP上運行Geronimo 3.0-M1(與Tomcat)時,我得到一個java.security.NoSuchAlgorithmException
。據報道,沒有任何AES實施。但是,如果我嘗試使用AES運行簡單的應用程序,它可以工作我看了一下互聯網,但沒有發現。有沒有人有相同的經歷? (Geronimo的輸出如下。)無法在WinXP上運行Apache Geronimo 3
C:\g\bin>geronimo run
Using GERONIMO_HOME: C:\g
Using GERONIMO_TMPDIR: var\temp
Using JRE_HOME: c:\Program files\Java\jdk1.6.0_21
Apache Geronimo (3.0-M1)
geronimo> Booting Geronimo Kernel (in Java 1.6.0_21)...
Starting Geronimo Application Server v3.0-M1
[**** ] 12% 0s Loading org.apache.ger...2011-02-25 18:23:33,000 ERROR [AbstractEncryption] Unable to decrypt
java.security.NoSuchAlgorithmException: Cannot find any provider supporting AES
at javax.crypto.Cipher.getInstance(DashoA13*..)
at org.apache.geronimo.crypto.AbstractEncryption.decrypt(AbstractEncryption.java:74)
at org.apache.geronimo.crypto.EncryptionManager.decrypt(EncryptionManager.java:108)
at org.apache.geronimo.system.plugin.PluginRepositoryDownloader.loadUserRepositories(PluginRepositoryDownloader.java:122)
at org.apache.geronimo.system.plugin.PluginRepositoryDownloader.<init>(PluginRepositoryDownloader.java:80)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at org.apache.xbean.recipe.ReflectionUtil$ConstructorFactory.create(ReflectionUtil.java:952)
at org.apache.xbean.recipe.ObjectRecipe.internalCreate(ObjectRecipe.java:276)
at org.apache.xbean.recipe.AbstractRecipe.create(AbstractRecipe.java:96)
at org.apache.xbean.recipe.AbstractRecipe.create(AbstractRecipe.java:61)
at org.apache.geronimo.gbean.runtime.GBeanInstance.createInstance(GBeanInstance.java:917)
at org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(GBeanInstanceState.java:269)
at org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInstanceState.java:103)
at org.apache.geronimo.gbean.runtime.GBeanInstanceState.startRecursive(GBeanInstanceState.java:125)
at org.apache.geronimo.gbean.runtime.GBeanInstance.startRecursive(GBeanInstance.java:544)
at org.apache.geronimo.kernel.basic.BasicKernel.startRecursiveGBean(BasicKernel.java:386)
at org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:461)
at org.apache.geronimo.kernel.config.KernelConfigurationManager.start(KernelConfigurationManager.java:224)
at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:698)
at org.apache.geronimo.system.main.EmbeddedDaemon.doStartup(EmbeddedDaemon.java:189)
at org.apache.geronimo.system.main.EmbeddedDaemon.execute(EmbeddedDaemon.java:88)
at org.apache.geronimo.system.osgi.BootActivator$1.execute(BootActivator.java:107)
at org.apache.geronimo.main.Bootstrapper.execute(Bootstrapper.java:65)
at org.apache.geronimo.cli.AbstractCLI.executeMain(AbstractCLI.java:65)
at org.apache.geronimo.cli.daemon.DaemonCLI.main(DaemonCLI.java:32)
遺憾的是無論是JDK,也不是JRE的作品在我的WinXP的實例。 Geronimo適當地在我的公司筆記本上運行JRE和WinXP。我必須放棄它。我花了太多時間在它上面而不需要它。 – 2011-07-12 17:31:15
我也收到錯誤,因爲錯誤[AbstractEncryption]無法解密 java.security.NoSuchAlgorithmException:找不到任何支持AES的提供程序[ – 2017-04-26 11:13:47