Please help.
After updating to xCode 9 and Xamarin I started getting this error when launching my app on the simulator (iPhone4s and iPhone 5)
Sep 27 08:38:43 Administrators-MacBook-Pro.local CoreSimulatorBridge[1307]: Beginning launch sequence for bundle 'AppName'
retryTimeout: 120.000000 (default write com.apple.CoreSimulatorBridge LaunchRetryTimeout )
bootTimeout: 300.000000 (default write com.apple.CoreSimulatorBridge BootRetryTimeout )
bootLeeway: 120.000000 (default write com.apple.CoreSimulatorBridge BootLeeway )
Note: Use 'xcrun simctl spawn booted defaults write ' to modify defaults in the booted Simulator device.
Simulator booted at: 2017-09-27 06:13:45 +0000
Current time: 2017-09-27 06:38:43 +0000
Within boot leeway: NO
Sep 27 08:38:43 Administrators-MacBook-Pro.local CoreSimulatorBridge[1307]: Launch attempt #0 for bundle 'AppName', have been trying to launch for 0 seconds. Modern launch services = NO
Sep 27 08:38:43 Administrators-MacBook-Pro com.apple.CoreSimulator.SimDevice.F31CDDCE-9C99-49C9-9BDE-2F2C7330CFC1[1288] (UIKitApplication:AppName[0x8c48][1673]): Program specified by service does not contain one of the requested architectures: Äúé
Sep 27 08:38:43 Administrators-MacBook-Pro.local SpringBoard[1301]: Unable to get pid for 'UIKitApplication:AppName[0x8c48]': No such process (err 3)
Sep 27 08:38:43 Administrators-MacBook-Pro.local SpringBoard[1301]: Application 'UIKitApplication:AppName[0x8c48]' exited voluntarily.
Sep 27 08:38:43 Administrators-MacBook-Pro.local CoreSimulatorBridge[1307]: Failed to lookup the process ID of AppName after successful launch. Perhaps it crashed after launch.
Sep 27 08:38:43 Administrators-MacBook-Pro.local CoreSimulatorBridge[1307]: Non-FBS error launching 'AppName', will NOT retry. Error was: Error Domain=NSPOSIXErrorDomain Code=3 "Failed to lookup the process ID of AppName after successful launch. Perhaps it crashed after launch." UserInfo=0x79625e00 {NSLocalizedDescription=Failed to lookup the process ID of AppName after successful launch. Perhaps it crashed after launch.}
Sep 27 08:38:43 Administrators-MacBook-Pro com.apple.CoreSimulator.SimDevice.F31CDDCE-9C99-49C9-9BDE-2F2C7330CFC1[1288] (UIKitApplication:AppName[0x315b][1674]): Program specified by service does not contain one of the requested architectures: Äúé
Sep 27 08:38:43 Administrators-MacBook-Pro.local SpringBoard[1301]: Unable to get pid for 'UIKitApplication:AppName[0x315b]': No such process (err 3)
Sep 27 08:38:43 Administrators-MacBook-Pro.local SpringBoard[1301]: Application 'UIKitApplication:AppName[0x315b]' exited voluntarily.
Sep 27 08:38:43 Administrators-MacBook-Pro.local SpringBoard[1301]: Unable to deliver -[UIRemoteApplication showTopMostMiniAlertWithSynchronizationPort:] message to port 0: (ipc/send) invalid destination port
Sep 27 08:40:24 Administrators-MacBook-Pro.local DTMobileIS[1403]: Could not create service named com.apple.instruments.server.services.processcontrol.posixspawn
Any help in the right direction would be much appreciated.
My Supported Architectures are : i386 + x86_64
More info:
=== Visual Studio Community 2017 for Mac ===
Version 7.1.5 (build 2)
Installation UUID: 7ab56de2-d309-4bf5-99dc-8e8927831737
Runtime:
Mono 5.2.0.224 (d15-3/14f2c81) (64-bit)
GTK+ 2.24.23 (Raleigh theme)
Package version: 502000224
=== NuGet ===
Version: 4.3.0.2418
=== .NET Core ===
Runtime: Not installed
SDK: Not installed
MSBuild SDKs: /Library/Frameworks/Mono.framework/Versions/5.2.0/lib/mono/msbuild/15.0/bin/Sdks
=== Xamarin.Profiler ===
Version: 1.5.5
Location: /Applications/Xamarin Profiler.app/Contents/MacOS/Xamarin Profiler
=== Xamarin.Android ===
Version: 7.4.5.1 (Visual Studio Community)
Android SDK: /Users/administrator/Library/Developer/Xamarin/android-sdk-macosx
Supported Android versions:
2.3 (API level 10)
4.0.3 (API level 15)
4.4 (API level 19)
5.0 (API level 21)
6.0 (API level 23)
7.0 (API level 24)
7.1 (API level 25)
SDK Tools Version: 25.2.5
SDK Platform Tools Version: 25.0.5
SDK Build Tools Version: 25.0.3
Java SDK: /usr
java version "1.8.0_101"
Java(TM) SE Runtime Environment (build 1.8.0_101-b13)
Java HotSpot(TM) 64-Bit Server VM (build 25.101-b13, mixed mode)
Android Designer EPL code available here:
https://github.com/xamarin/AndroidDesigner.EPL
=== Xamarin Inspector ===
Version: 1.3.1
Hash: cbc48dd
Branch: 1.3-release
Build date: Thu, 21 Sep 2017 19:52:53 GMT
Client compatibility: 1
=== Apple Developer Tools ===
Xcode 9.0 (13247)
Build 9A235
=== Xamarin.Mac ===
Xamarin.Mac not installed. Can't find /Library/Frameworks/Xamarin.Mac.framework/Versions/Current/Version.
=== Xamarin.iOS ===
Version: 11.0.0.0 (Visual Studio Community)
Hash: 152b654a
Branch: xcode9
Build date: 2017-09-15 02:25:56-0400
=== Build Information ===
Release ID: 701050002
Git revision: 7afedcaef8e7542e70e3cf8f9bdb26938b8c0876
Build date: 2017-09-15 08:39:58-04
Xamarin addins: 3262aadf811a18c12eac6742532d052b0139a808
Build lane: monodevelop-lion-d15-3-xcode9
=== Operating System ===
Mac OS X 10.12.6
Darwin 16.7.0 Darwin Kernel Version 16.7.0
Thu Jun 15 17:36:27 PDT 2017
root:xnu-3789.70.16~2/RELEASE_X86_64 x86_64
Actually how this works is that the Xcode version in your mac system and the xamarin version on your windows device should match.
To see which xcode version matches your xamarin version check here:
https://releases.xamarin.com/stable-release-15-3-5-with-xcode-9-support/
I can't run any project for iOS in Xamarin, It shows me the following error "Error Initialized task IBTool: Not registered task IBToll", how I can resolve this error?
I use Xamarin Studio 5.9.4, XCode 5.0, Xamarin Ios 8.10.3.2 (Business Edition) and S.O Mac Os X 10.9.5
I hope you can help me
UPGRADE
=== Xamarin Studio ===
Version 5.9.4 (build 5)
Installation UUID: 616c0f77-e96a-4f5d-a6f7-c303c7e143c3
Runtime:
Mono 4.0.2 ((detached/c99aa0c)
GTK+ 2.24.23 (Raleigh theme)
Package version: 400020005
=== Xamarin.Android ===
Version: 5.1.4.16 (Business Edition)
Android SDK: /Users/student/Library/Developer/Xamarin/android-sdk-mac_x86
Supported Android versions:
2.3 (API level 10)
4.0.3 (API level 15)
Java SDK: /usr
java version "1.6.0_65"
Java(TM) SE Runtime Environment (build 1.6.0_65-b14-462-11M4609)
Java HotSpot(TM) 64-Bit Server VM (build 20.65-b04-462, mixed mode)
=== Xamarin Android Player ===
Not Installed
=== Apple Developer Tools ===
Xcode 5.0 (3332.22)
Build 5A1412
=== Xamarin.iOS ===
Version: 8.10.3.2 (Business Edition)
Hash: 8b265d6
Branch: master
Build date: 2015-06-30 15:19:13-0400
=== Xamarin.Mac ===
Not Installed
=== Build Information ===
Release ID: 509040005
Git revision: 8010a90f6e246b32364e3fb46ef2c9d1be9c9a2b
Build date: 2015-06-08 16:52:06-04
Xamarin addins: 7e93e9c3503f28770f23ce1b7eafd829919f18e8
=== Operating System ===
Mac OS X 10.9.5
Darwin Students-Mac.local 13.4.0 Darwin Kernel Version 13.4.0
Sun Aug 17 19:50:11 PDT 2014
root:xnu-2422.115.4~1/RELEASE_X86_64 x86_64
I just downloaded xcode 5.0.2 and while opening initially the Open Project Screen came. Then i closed xcode and after that i tried to start it but it was crashing straight away. I found out the following logs on Console App
21/11/13 7:56:41.000 pm kernel[0]: CODE SIGNING: cs_invalid_page(0x7fff946ac000): p=2190[Xcode] final status 0x1000200, denying page sending SIGKILL
21/11/13 7:56:41.000 pm kernel[0]: CODESIGNING: vm_fault_enter(0x7fff946ac000): page 0xffffff80103b61d8 obj 0xffffff802b7a17a0 off 0x10aad000 *** INVALID PAGE ***
21/11/13 7:56:41.806 pm ReportCrash[2193]: Trying to extract VM information using cr2
21/11/13 7:56:41.855 pm com.apple.launchd.peruser.503[476]: (com.apple.dt.Xcode.72720[2190]) Exited: Killed: 9
21/11/13 7:56:42.286 pm ReportCrash[2193]: Saved crash report for Xcode[2190] version 5.0.2 (3335.32) to /Users/arpit/Library/Logs/DiagnosticReports/Xcode_2013-11-21-195642_Aruns-MacBook-Pro.crash
21/11/13 7:56:42.289 pm ReportCrash[2193]: Removing excessive log: file:///Users/arpit/Library/Logs/DiagnosticReports/Xcode_2013-11-21-183407_Aruns-MacBook-Pro.crash
Any help regarding this?
I also found this link regarding the same issue
https://discussions.apple.com/message/23562146#23562146
Is your previous version of Xcode synced to any version control such as git hub or svn ?
Is you open the project it will ask for upgrade just upgrade it you will not get the issue again.Give a try same happened to me as well i tried the same.
you can also refer the link for the same in Xcode 4.2
Xcode 4.0.2 Crashes on launch
I'm following the guide on this page, and it gets the server up and running, but the webadmin doesn't work. And being a newbie to Neo4j, the webadmin is VERY useful to me. When trying to access the webadmin, I just get a 404 Not Found error. And it doesn't seem like the logs are telling me that anything is wrong.
May 14, 2013 11:41:33 AM org.neo4j.server.logging.Logger log
INFO: Setting startup timeout to: 120000ms based on -1
May 14, 2013 11:41:33 AM org.neo4j.server.logging.Logger log
INFO: Starting Neo Server on port [7474] with [40] threads available
May 14, 2013 11:41:34 AM org.neo4j.server.logging.Logger log
INFO: Mounted discovery module at [/]
May 14, 2013 11:41:34 AM org.neo4j.server.logging.Logger log
INFO: Loaded server plugin "CypherPlugin"
May 14, 2013 11:41:34 AM org.neo4j.server.logging.Logger log
INFO: Mounted REST API at [/db/data]
May 14, 2013 11:41:34 AM org.neo4j.server.logging.Logger log
INFO: Mounted management API at [/db/manage]
May 14, 2013 11:41:34 AM org.neo4j.server.logging.Logger log
INFO: Mounted webadmin at [/webadmin]
11:41:34.598 [main] INFO org.mortbay.log - Logging to Logger[org.mortbay.log] via org.mortbay.log.Slf4jLog
May 14, 2013 11:41:34 AM org.neo4j.server.logging.Logger log
INFO: Mounting static content at [/webadmin] from [webadmin-html]
May 14, 2013 11:41:34 AM org.neo4j.server.logging.Logger log
SEVERE: No static content available for Neo Server at port [7474], management console may not be available.
11:41:34.651 [main] INFO org.mortbay.log - jetty-6.1.25
May 14, 2013 11:41:34 AM com.sun.jersey.api.core.PackagesResourceConfig init
INFO: Scanning for root resource and provider classes in the packages:
org.neo4j.server.webadmin.rest
May 14, 2013 11:41:34 AM com.sun.jersey.api.core.ScanningResourceConfig logClasses
INFO: Root resource classes found:
class org.neo4j.server.webadmin.rest.console.ConsoleService
class org.neo4j.server.webadmin.rest.JmxService
class org.neo4j.server.webadmin.rest.RootService
class org.neo4j.server.webadmin.rest.MonitorService
May 14, 2013 11:41:34 AM com.sun.jersey.api.core.ScanningResourceConfig init
INFO: No provider classes found.
May 14, 2013 11:41:34 AM com.sun.jersey.server.impl.application.WebApplicationImpl _initiate
INFO: Initiating Jersey application, version 'Jersey: 1.9 09/02/2011 11:17 AM'
May 14, 2013 11:41:35 AM com.sun.jersey.api.core.PackagesResourceConfig init
INFO: Scanning for root resource and provider classes in the packages:
org.neo4j.server.rest.web
May 14, 2013 11:41:35 AM com.sun.jersey.api.core.ScanningResourceConfig logClasses
INFO: Root resource classes found:
class org.neo4j.server.rest.web.ExtensionService
class org.neo4j.server.rest.web.CypherService
class org.neo4j.server.rest.web.ResourcesService
class org.neo4j.server.rest.web.BatchOperationService
class org.neo4j.server.rest.web.RestfulGraphDatabase
class org.neo4j.server.rest.web.DatabaseMetadataService
May 14, 2013 11:41:35 AM com.sun.jersey.api.core.ScanningResourceConfig init
INFO: No provider classes found.
May 14, 2013 11:41:35 AM com.sun.jersey.server.impl.application.WebApplicationImpl _initiate
INFO: Initiating Jersey application, version 'Jersey: 1.9 09/02/2011 11:17 AM'
May 14, 2013 11:41:35 AM com.sun.jersey.api.core.PackagesResourceConfig init
INFO: Scanning for root resource and provider classes in the packages:
org.neo4j.server.rest.discovery
May 14, 2013 11:41:35 AM com.sun.jersey.api.core.ScanningResourceConfig logClasses
INFO: Root resource classes found:
class org.neo4j.server.rest.discovery.DiscoveryService
May 14, 2013 11:41:35 AM com.sun.jersey.api.core.ScanningResourceConfig init
INFO: No provider classes found.
May 14, 2013 11:41:35 AM com.sun.jersey.server.impl.application.WebApplicationImpl _initiate
INFO: Initiating Jersey application, version 'Jersey: 1.9 09/02/2011 11:17 AM'
May 14, 2013 11:41:35 AM org.neo4j.server.logging.Logger log
11:41:35.522 [main] INFO org.mortbay.log - Started SelectChannelConnector#localhost:7474
INFO: Server started on [http://localhost:7474/]
Is there something else I'm supposed to be configuring to get the webadmin working? Do I need to install the Windows service or something?
I was finally able to create a server instance within my java app that uses the embedded database as explained here. This works properly while I'm running it from Eclipse, but this is not actually my purpose (my app, between other things, feeds the database with new nodes and relationships). I have a Neo4j box which is supposed to be my server instance and I want to deploy my app there as a JAR file. In that way, I would like to access the web interface from there. I have already tested it: while running the java app in my development machine any machine in the same private network can access the interface without problems. The issue comes when trying to package everything into a JAR for server distribution.
The concrete error stack is as follows:
<!-- bean initialization stuff -->
Apr 11, 2013 1:14:30 PM org.neo4j.kernel.impl.transaction.xaframework.XaLogicalLog doInternalRecovery
INFO: Non clean shutdown detected on log [/data/production/graph.db/nioneo_logical.log.2]. Recovery started ...
Apr 11, 2013 1:14:32 PM org.neo4j.kernel.impl.transaction.xaframework.XaLogicalLog doInternalRecovery
INFO: Non clean shutdown detected on log [/data/production/graph.db/index/lucene.log.2]. Recovery started ...
2013-04-11 13:14:34,787 INFO [org.springframework.transaction.jta.JtaTransactionManager] - Using JTA UserTransaction: org.neo4j.kernel.impl.transaction.UserTransactionImpl#1b2fde11
2013-04-11 13:14:34,787 INFO [org.springframework.transaction.jta.JtaTransactionManager] - Using JTA TransactionManager: org.neo4j.kernel.impl.transaction.SpringTransactionManager#639c3c08
Apr 11, 2013 1:14:35 PM org.neo4j.server.logging.Logger log
INFO: Starting Neo Server on port [7474] with [40] threads available
Logger not configured, logging to std out instead: [FINE] Adding JAXRS packages [org.neo4j.server.rest.discovery] at [/]
Apr 11, 2013 1:14:35 PM org.neo4j.server.logging.Logger log
INFO: Mounted discovery module at [/]
Logger not configured, logging to std out instead: [FINE] Adding JAXRS packages [org.neo4j.server.rest.web] at [/db/data]
Apr 11, 2013 1:14:35 PM org.neo4j.server.logging.Logger log
INFO: Mounted REST API at [/db/data]
Logger not configured, logging to std out instead: [FINE] Adding JAXRS packages [org.neo4j.server.webadmin.rest] at [/db/manage]
Apr 11, 2013 1:14:35 PM org.neo4j.server.logging.Logger log
INFO: Mounted management API at [/db/manage]
Apr 11, 2013 1:14:35 PM org.neo4j.server.logging.Logger log
INFO: Mounted webadmin at [/webadmin]
2013-04-11 13:14:35,494 INFO [org.mortbay.log] - Logging to org.slf4j.impl.Log4jLoggerAdapter(org.mortbay.log) via org.mortbay.log.Slf4jLog
Apr 11, 2013 1:14:35 PM org.neo4j.server.logging.Logger log
INFO: Mounting static content at [/webadmin] from [webadmin-html]
Logger not configured, logging to std out instead: [FINE] Found [jar:file:/home/jaranda/cicerone/cicerone-crawlers/target/cicerone-crawlers-0.0.1-SNAPSHOT.jar!/webadmin-html]
Logger not configured, logging to std out instead: [FINE] Mounting static content from [jar:file:/home/jaranda/cicerone/cicerone-crawlers/target/cicerone-crawlers-0.0.1-SNAPSHOT.jar!/webadmin-html] at [/webadmin]
Logger not configured, logging to std out instead: [FINE] Mounting servlet at [/db/manage]
Logger not configured, logging to std out instead: [FINE] Mounting servlet at [/db/data]
Logger not configured, logging to std out instead: [FINE] Mounting servlet at [/]
2013-04-11 13:14:35,556 INFO [org.mortbay.log] - jetty-6.1.x
2013-04-11 13:14:35,915 INFO [org.mortbay.log] - NO JSP Support for /webadmin, did not find org.apache.jasper.servlet.JspServlet
Apr 11, 2013 1:14:36 PM com.sun.jersey.api.core.PackagesResourceConfig init
INFO: Scanning for root resource and provider classes in the packages:
org.neo4j.server.webadmin.rest
Apr 11, 2013 1:14:39 PM com.sun.jersey.api.core.ScanningResourceConfig logClasses
INFO: Root resource classes found:
class org.neo4j.server.webadmin.rest.JmxService
class org.neo4j.server.webadmin.rest.ConsoleService
class org.neo4j.server.webadmin.rest.MonitorService
class org.neo4j.server.webadmin.rest.RootService
Apr 11, 2013 1:14:39 PM com.sun.jersey.api.core.ScanningResourceConfig init
INFO: No provider classes found.
Apr 11, 2013 1:14:39 PM com.sun.jersey.server.impl.application.WebApplicationImpl _initiate
INFO: Initiating Jersey application, version 'Jersey: 1.9 09/02/2011 11:17 AM'
Apr 11, 2013 1:14:40 PM com.sun.jersey.api.core.PackagesResourceConfig init
INFO: Scanning for root resource and provider classes in the packages:
org.neo4j.server.rest.web
Apr 11, 2013 1:14:43 PM com.sun.jersey.api.core.ScanningResourceConfig logClasses
INFO: Root resource classes found:
class org.neo4j.server.rest.web.ResourcesService
class org.neo4j.server.rest.web.RestfulGraphDatabase
class org.neo4j.server.rest.web.DatabaseMetadataService
class org.neo4j.server.rest.web.ExtensionService
class org.neo4j.server.rest.web.CypherService
class org.neo4j.server.rest.web.BatchOperationService
Apr 11, 2013 1:14:43 PM com.sun.jersey.api.core.ScanningResourceConfig init
INFO: No provider classes found.
Apr 11, 2013 1:14:43 PM com.sun.jersey.server.impl.application.WebApplicationImpl _initiate
INFO: Initiating Jersey application, version 'Jersey: 1.9 09/02/2011 11:17 AM'
Apr 11, 2013 1:14:43 PM com.sun.jersey.api.core.PackagesResourceConfig init
INFO: Scanning for root resource and provider classes in the packages:
org.neo4j.server.rest.discovery
Apr 11, 2013 1:14:46 PM com.sun.jersey.api.core.ScanningResourceConfig logClasses
INFO: Root resource classes found:
class org.neo4j.server.rest.discovery.DiscoveryService
Apr 11, 2013 1:14:46 PM com.sun.jersey.api.core.ScanningResourceConfig init
INFO: No provider classes found.
Apr 11, 2013 1:14:46 PM com.sun.jersey.server.impl.application.WebApplicationImpl _initiate
INFO: Initiating Jersey application, version 'Jersey: 1.9 09/02/2011 11:17 AM'
2013-04-11 13:14:46,751 INFO [org.mortbay.log] - Started SelectChannelConnector#172.20.100.33:7474
Apr 11, 2013 1:14:46 PM org.neo4j.server.logging.Logger log
INFO: Server started on [http://172.20.100.33:7474/]
2013-04-11 13:14:47,616 INFO [org.springframework.scheduling.concurrent.ThreadPoolTaskScheduler] - Initializing ExecutorService 'taskScheduler'
2013-04-11 13:14:47,714 INFO [com.twitter.hbc.httpclient.BasicClient] - New connection executed: Hosebird-Client-02, endpoint: /1.1/statuses/filter.json?delimited=length&stall_warnings=true
2013-04-11 13:14:48,346 INFO [com.twitter.hbc.httpclient.ClientBase] - Hosebird-Client-02 Establishing a connection
Apr 11, 2013 1:14:48 PM com.sun.jersey.spi.container.ContainerResponse write
SEVERE: A message body writer for Java class [B, and Java type class [B, and MIME media type application/json was not found
Apr 11, 2013 1:14:48 PM com.sun.jersey.spi.container.ContainerResponse write
SEVERE: The registered message body writers compatible with the MIME media type are:
*/* ->
com.sun.jersey.server.impl.template.ViewableMessageBodyWriter
Apr 11, 2013 1:14:48 PM com.sun.jersey.spi.container.ContainerResponse logException
SEVERE: Mapped exception to response: 500 (Internal Server Error)
javax.ws.rs.WebApplicationException: com.sun.jersey.api.MessageException: A message body writer for Java class [B, and Java type class [B, and MIME media type application/json was not found
at com.sun.jersey.spi.container.ContainerResponse.write(ContainerResponse.java:285)
at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1437)
at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1349)
at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1339)
at com.sun.jersey.spi.container.servlet.WebComponent.service(WebComponent.java:416)
at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:537)
at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:699)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511)
at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:390)
at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765)
at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
at org.mortbay.jetty.Server.handle(Server.java:326)
at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542)
at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:926)
at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:549)
at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212)
at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:410)
at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582)
Caused by: com.sun.jersey.api.MessageException: A message body writer for Java class [B, and Java type class [B, and MIME media type application/json was not found
... 22 more
I must say I'm pretty new to Spring, Maven and Neo4j itself. I'm quite lost how to get rid of this issue. The web interface actually loads but without any kind of functionality. See attached shot:
.
The backend of my app works fine despite of this issue and actually new nodes/relationships are created.
I think this issue (or kind of) was discussed here but the answer is not clear to me.
Any suggestions? Thank you in advance!
I finally found a solution, which did the trick. I just share it, in case anyone else experiences the same issue. The problem was that some files under META-INF/services were being overwritten during the jar packaging process, since by default their content is not merged. According to the maven-shade plugin reference:
JAR files providing implementations of some interfaces often ship with
a META-INF/services/ directory that maps interfaces to their
implementation classes for lookup by the service locator. To merge
multiple implementations of the same interface into one service entry,
the ServicesResourceTransformer can be used.
So adding this transformer in my pom just worked, e.g.:
<project>
...
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<version>2.0</version>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>shade</goal>
</goals>
<configuration>
<transformers>
<transformer implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer"/>
</transformers>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
...
</project>
Hope it helps!