title: Java "InvalidAlgorithmParameterException"?
body: <p>Currently i am using web3j to create an account in my private block chain.
  Like:</p>
  
  <pre><code>Web3j web3 = Web3j.build(new HttpService());
      Web3ClientVersion web3ClientVersion;
  
  String walletFileName = WalletUtils.generateFullNewWalletFile("password",new File("/opt/test"));
  
  LOGGER.info("walletFileName&gt;&gt;&gt;&gt;&gt;" + walletFileName.substring(0));
  </code></pre>
  
  <p>This code works fine in my local machine.But i am getting this exception in my test server:</p>
  
  <pre><code>java.security.InvalidAlgorithmParameterException: parameter object not a ECParameterSpec
      at org.bouncycastle.jce.provider.JDKKeyPairGenerator$EC.initialize(Unknown Source)
      at org.web3j.crypto.Keys.createSecp256k1KeyPair(Keys.java:49)
      at org.web3j.crypto.Keys.createEcKeyPair(Keys.java:55)
      at org.web3j.crypto.WalletUtils.generateNewWalletFile(WalletUtils.java:44)
      at org.web3j.crypto.WalletUtils.generateFullNewWalletFile(WalletUtils.java:29)
      at com.belrium.service.UserWalletService.createNewWallet(UserWalletService.java:91)
      at com.belrium.service.UserAuthenticationService.verifyEmailAddress(UserAuthenticationService.java:126)
      at com.belrium.controller.UserAuthenticationController.verifyEmailAddress(UserAuthenticationController.java:68)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:498)
      at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:205)
      at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:133)
      at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:97)
      at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:827)
      at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:738)
  </code></pre>
  
  <p>I have searched a lot and tried all things but not able to resolve it.Please help.</p>