Title: ImageKit instantiation error · Issue #29 · imagekit-developer/imagekit-java · GitHub
Open Graph Title: ImageKit instantiation error · Issue #29 · imagekit-developer/imagekit-java
X Title: ImageKit instantiation error · Issue #29 · imagekit-developer/imagekit-java
Description: Hi. I went along with documentaion and added config.properties in my resource folder and added public and private keys and url endpont there. and here is my imagekit instantiation: @SpringBootApplication class EShopBackApplication fun ma...
Open Graph Description: Hi. I went along with documentaion and added config.properties in my resource folder and added public and private keys and url endpont there. and here is my imagekit instantiation: @SpringBootAppli...
X Description: Hi. I went along with documentaion and added config.properties in my resource folder and added public and private keys and url endpont there. and here is my imagekit instantiation: @SpringBootAppli...
Opengraph URL: https://github.com/imagekit-developer/imagekit-java/issues/29
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"ImageKit instantiation error","articleBody":"Hi.\r\nI went along with documentaion and added config.properties in my resource folder and added public and private keys and url endpont there.\r\nand here is my imagekit instantiation: \r\n\r\n```\r\n@SpringBootApplication\r\nclass EShopBackApplication\r\n\r\nfun main(args: Array\u003cString\u003e) {\r\n \r\n runApplication\u003cEShopBackApplication\u003e(*args)\r\n\tval imageKit = ImageKit.getInstance()\r\n\tval config = Utils.getSystemConfig(EShopBackApplication::class.java)\r\n\timageKit.config = config\r\n}\r\n```\r\n\r\n\r\nWhen I run the app I got this error: \r\n\r\n```\r\nException in thread \"main\" java.lang.NoSuchFieldError: Companion\r\n\tat okhttp3.internal.Util.\u003cclinit\u003e(Util.kt:70)\r\n\tat okhttp3.OkHttpClient.\u003cclinit\u003e(OkHttpClient.kt:1073)\r\n\tat io.imagekit.sdk.tasks.RestClient.\u003cinit\u003e(RestClient.java:60)\r\n\tat io.imagekit.sdk.ImageKit.getInstance(ImageKit.java:40)\r\n\tat com.hadit1993.eshopback.EShopBackApplicationKt.main(EShopBackApplication.kt:16)\r\n```\r\n\r\nWhat is the problem?","author":{"url":"https://github.com/Hadit1993","@type":"Person","name":"Hadit1993"},"datePublished":"2023-05-23T17:44:18.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":5},"url":"https://github.com/29/imagekit-java/issues/29"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:f200436c-ebfc-a85c-7ac8-5ee9072ea7a8 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9B56:629BA:25F5B07:307C381:699119AC |
| html-safe-nonce | 439f5833792d9dd7880dcbe328647db71af5617b90c56f7658588d28b75b08e5 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5QjU2OjYyOUJBOjI1RjVCMDc6MzA3QzM4MTo2OTkxMTlBQyIsInZpc2l0b3JfaWQiOiI3ODMxNTE1NTExODYzMTg3ODg0IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | e5755de11235fc719f049a58e77542120ebac0df7ca169e9b578955ef60d73ce |
| hovercard-subject-tag | issue:1722523354 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/imagekit-developer/imagekit-java/29/issue_layout |
| twitter:image | https://opengraph.githubassets.com/327773ac318412f4781cb63a4bdbb8d832f368527330e88c5cb0bad157926b05/imagekit-developer/imagekit-java/issues/29 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/327773ac318412f4781cb63a4bdbb8d832f368527330e88c5cb0bad157926b05/imagekit-developer/imagekit-java/issues/29 |
| og:image:alt | Hi. I went along with documentaion and added config.properties in my resource folder and added public and private keys and url endpont there. and here is my imagekit instantiation: @SpringBootAppli... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | Hadit1993 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 42c603b9d642c4a9065a51770f75e5e27132fef0e858607f5c9cb7e422831a7b |
| turbo-cache-control | no-preview |
| go-import | github.com/imagekit-developer/imagekit-java git https://github.com/imagekit-developer/imagekit-java.git |
| octolytics-dimension-user_id | 22879925 |
| octolytics-dimension-user_login | imagekit-developer |
| octolytics-dimension-repository_id | 247482558 |
| octolytics-dimension-repository_nwo | imagekit-developer/imagekit-java |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 247482558 |
| octolytics-dimension-repository_network_root_nwo | imagekit-developer/imagekit-java |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 848bc6032dcc93a9a7301dcc3f379a72ba13b96e |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width