Skip to content

Instantly share code, notes, and snippets.

@fkchang
Created August 15, 2017 00:01
Show Gist options
  • Save fkchang/7abf0999bb95810af990b0f183b81b2e to your computer and use it in GitHub Desktop.
Save fkchang/7abf0999bb95810af990b0f183b81b2e to your computer and use it in GitHub Desktop.
JCE related error
remote: LoadError: load error: /tmp/build_72161da82e855fa324feb33bbb0b3c04/config/environment -- java.lang.IllegalAccessException: Can not set static final boolean field javax.crypto.JceSecurity.isRestricted to java.lang.Boolean
remote: /tmp/build_72161da82e855fa324feb33bbb0b3c04/vendor/bundle/jruby/2.2.0/gems/activesupport-4.1.14.1/lib/active_support/dependencies.rb:247:in `block in require'
remote: /tmp/build_72161da82e855fa324feb33bbb0b3c04/vendor/bundle/jruby/2.2.0/gems/activesupport-4.1.14.1/lib/active_support/dependencies.rb:232:in `load_dependency'
remote: /tmp/build_72161da82e855fa324feb33bbb0b3c04/vendor/bundle/jruby/2.2.0/gems/activesupport-4.1.14.1/lib/active_support/dependencies.rb:247:in `require'
remote: /tmp/build_72161da82e855fa324feb33bbb0b3c04/vendor/bundle/jruby/2.2.0/gems/railties-4.1.14.1/lib/rails/application.rb:276:in `require_environment!'
remote: /tmp/build_72161da82e855fa324feb33bbb0b3c04/vendor/bundle/jruby/2.2.0/gems/railties-4.1.14.1/lib/rails/application.rb:405:in `block in run_tasks_blocks'
remote: /tmp/build_72161da82e855fa324feb33bbb0b3c04/vendor/bundle/jruby/2.2.0/gems/sprockets-rails-2.3.3/lib/sprockets/rails/task.rb:64:in `block in define'
remote: Java::JavaLang::IllegalAccessException: Can not set static final boolean field javax.crypto.JceSecurity.isRestricted to java.lang.Boolean
remote: java.lang.reflect.Field.set(java/lang/reflect/Field.java:764)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment