Hey,
Hmm. Thats a crazy error I've never seen.
Question: What does your pom.xml look like? (or how are you dealing with
dependencies?)
NOTE: You don't need Gremlin to load GraphML files -- just Blueprints
which comes with GraphMLReader.inputGraph();
Either way, you shouldn't get that problem using Gremlin either :).
Thanks,
Marko.
http://markorodriguez.com
On Jun 6, 2011, at 9:36 AM, Siddhartha Kasivajhula wrote:
> Hi Marko,
> I was trying to import the Grateful Dead dataset recently and ran into an
> error message with Blueprints 0.7:
>
> Caught: java.lang.LinkageError: loader constraint violation: loader
> (instance of org/codehaus/groovy/tools/RootLoader) previously initiated
> loading for a different type with name "javax/xml/namespace/QName"
> at GraphCrawler.<init>(GraphCrawler.groovy:19)
> at GraphCrawler.main(GraphCrawler.groovy:23)
>
>
> My source for this is:
>
> public class GraphCrawler {
>
> public Graph graph
>
> public GraphCrawler() {
> graph = new Neo4jGraph("./dbs/mydbn1")
> GraphMLReader.inputGraph(graph, new FileInputStream('graph-example-2.xml'))
> }
>
> public static void main(String[] args) {
> GraphCrawler gc = new GraphCrawler()
> }
>
> }
>
>
> Any idea what's wrong?
>
> Thanks,
> -Sid
>
>
> On Mon, Jun 6, 2011 at 8:14 AM, Peter Neubauer <
> [email protected]> wrote:
>
>> Yup,
>> there is an example of this in the neo4j gremlin plugin,
>>
>> https://github.com/neo4j/neo4j-gremlin-plugin/blob/master/features/start-and-stop.feature#L17
>>
>> I will add this to the docs shortly.
>>
>> Cheers,
>>
>> /peter neubauer
>>
>> GTalk: neubauer.peter
>> Skype peter.neubauer
>> Phone +46 704 106975
>> LinkedIn http://www.linkedin.com/in/neubauer
>> Twitter http://twitter.com/peterneubauer
>>
>> http://www.neo4j.org - Your high performance graph database.
>> http://startupbootcamp.org/ - Ă–resund - Innovation happens HERE.
>> http://www.thoughtmade.com - Scandinavia's coolest Bring-a-Thing party.
>>
>>
>> On Mon, Jun 6, 2011 at 5:07 PM, Marko Rodriguez <[email protected]
>>> wrote:
>>
>>> Hey,
>>>
>>> There is the Grateful Dead data set:
>>>
>> https://github.com/tinkerpop/gremlin/tree/master/data(graph-example-2.xml)
>> .
>>>
>>>
>> https://github.com/tinkerpop/gremlin/wiki/Defining-a-More-Complex-Property-Graph
>>>
>>> You can just load and go with that to play around.
>>>
>>> See ya,
>>> Marko.
>>>
>>> http://markorodriguez.com
>>>
>>> On Jun 6, 2011, at 9:04 AM, ownside wrote:
>>>
>>>> Hi,
>>>>
>>>> is there a sample neo4j database (e.g. the database of The Matrix
>> Example
>>> or of the IMDB-Example), so that I can skip populating the database and
>>> start working with the data?
>>>>
>>>> Thanks,
>>>> David
>>>>
>>>> _______________________________________________
>>>> Neo4j mailing list
>>>> [email protected]
>>>> https://lists.neo4j.org/mailman/listinfo/user
>>>
>>> _______________________________________________
>>> Neo4j mailing list
>>> [email protected]
>>> https://lists.neo4j.org/mailman/listinfo/user
>>>
>> _______________________________________________
>> Neo4j mailing list
>> [email protected]
>> https://lists.neo4j.org/mailman/listinfo/user
>>
> _______________________________________________
> Neo4j mailing list
> [email protected]
> https://lists.neo4j.org/mailman/listinfo/user
_______________________________________________
Neo4j mailing list
[email protected]
https://lists.neo4j.org/mailman/listinfo/user