We recommend switching to the latest versions of Edge, Firefox, Chrome or Safari. Using Internet Explorer will result in a loss of website functionality.
Our Support systems migrated on Saturday, May 21. We'll automatically forward you to the new location for this content.

Java Node Complie Path issue

Comments

5 comments

  • Avatar
    Infogix Support
    Originally posted by: Tim Meagher

    What is the rest of the error message?
    The path mentioned is created dynamically to create and compile the Java code within the node, so will be cleaned up after the node has finished.
    0
    Comment actions Permalink
  • Avatar
    Infogix Support
    Originally posted by: Chris962

    ERROR: Error compiling source unit.
    Error occurred attempting to compile source with entry type (com.lavastorm.tools.build.java.MultiJavaBuiltUnit ).
    Compilation diagnostics:
    file:/C:/Program%20Files%20(x86)/Lavastorm/LAETemp/tmp/cache/brain/MJP-JGEN/1054094045/0/src/pkg59848a4938717a69/JavaSolace.java:11:package com.solacesystems does not exist
    file:/C:/Program%20Files%20(x86)/Lavastorm/LAETemp/tmp/cache/brain/MJP-JGEN/1054094045/0/src/pkg59848a4938717a69/JavaSolace.java:43:cannot find symbol
    symbol: class JCSMPProperties
    location: class pkg59848a4938717a69.JavaSolace
    file:/C:/Program%20Files%20(x86)/Lavastorm/LAETemp/tmp/cache/brain/MJP-JGEN/1054094045/0/src/pkg59848a4938717a69/JavaSolace.java:43:cannot find symbol
    symbol: class JCSMPProperties
    location: class pkg59848a4938717a69.JavaSolace
    file:/C:/Program%20Files%20(x86)/Lavastorm/LAETemp/tmp/cache/brain/MJP-JGEN/1054094045/0/src/pkg59848a4938717a69/JavaSolace.java:56:cannot find symbol
    symbol: variable session
    location: class pkg59848a4938717a69.JavaSolace
    file:/C:/Program%20Files%20(x86)/Lavastorm/LAETemp/tmp/cache/brain/MJP-JGEN/1054094045/0/src/pkg59848a4938717a69/JavaSolace.java:56:cannot find symbol
    symbol: variable JCSMPFactory
    location: class pkg59848a4938717a69.JavaSolace
    file:/C:/Program%20Files%20(x86)/Lavastorm/LAETemp/tmp/cache/brain/MJP-JGEN/1054094045/0/src/pkg59848a4938717a69/JavaSolace.java:57:cannot find symbol
    symbol: variable consumer
    location: class pkg59848a4938717a69.JavaSolace
    file:/C:/Program%20Files%20(x86)/Lavastorm/LAETemp/tmp/cache/brain/MJP-JGEN/1054094045/0/src/pkg59848a4938717a69/JavaSolace.java:57:cannot find symbol
    symbol: class XMLMessageListener
    location: class pkg59848a4938717a69.JavaSolace
    file:/C:/Program%20Files%20(x86)/Lavastorm/LAETemp/tmp/cache/brain/MJP-JGEN/1054094045/0/src/pkg59848a4938717a69/JavaSolace.java:57:cannot find symbol
    symbol: variable session
    location: class pkg59848a4938717a69.JavaSolace
    file:/C:/Program%20Files%20(x86)/Lavastorm/LAETemp/tmp/cache/brain/MJP-JGEN/1054094045/0/src/pkg59848a4938717a69/JavaSolace.java:58:cannot find symbol
    symbol: variable consumer
    location: class pkg59848a4938717a69.JavaSolace
    file:/C:/Program%20Files%20(x86)/Lavastorm/LAETemp/tmp/cache/brain/MJP-JGEN/1054094045/0/src/pkg59848a4938717a69/JavaSolace.java:59:cannot find symbol
    symbol: class XMLMessage
    location: class pkg59848a4938717a69.JavaSolace
    file:/C:/Program%20Files%20(x86)/Lavastorm/LAETemp/tmp/cache/brain/MJP-JGEN/1054094045/0/src/pkg59848a4938717a69/JavaSolace.java:59:cannot find symbol
    symbol: variable consumer
    location: class pkg59848a4938717a69.JavaSolace
    file:/C:/Program%20Files%20(x86)/Lavastorm/LAETemp/tmp/cache/brain/MJP-JGEN/1054094045/0/src/pkg59848a4938717a69/JavaSolace.java:85:cannot find symbol
    symbol: variable consumer
    location: class pkg59848a4938717a69.JavaSolace
    file:/C:/Program%20Files%20(x86)/Lavastorm/LAETemp/tmp/cache/brain/MJP-JGEN/1054094045/0/src/pkg59848a4938717a69/JavaSolace.java:85:cannot find symbol
    symbol: variable consumer
    location: class pkg59848a4938717a69.JavaSolace
    file:/C:/Program%20Files%20(x86)/Lavastorm/LAETemp/tmp/cache/brain/MJP-JGEN/1054094045/0/src/pkg59848a4938717a69/JavaSolace.java:86:cannot find symbol
    symbol: variable session
    location: class pkg59848a4938717a69.JavaSolace
    file:/C:/Program%20Files%20(x86)/Lavastorm/LAETemp/tmp/cache/brain/MJP-JGEN/1054094045/0/src/pkg59848a4938717a69/JavaSolace.java:86:cannot find symbol
    symbol: variable session
    location: class pkg59848a4938717a69.JavaSolace
    0
    Comment actions Permalink
  • Avatar
    Infogix Support
    Originally posted by: Tim Meagher

    The message:
    			
    				package com.solacesystems does not exist
    			
    
    Seems to suggest that a required jar cannot be located on the classpath of the node.
    0
    Comment actions Permalink
  • Avatar
    Infogix Support
    Originally posted by: Chris962

    I've resolved most of the errors, it was due to having to declare 'import' each class within the JAR...(which is not clear in the documentation - talks about JAR then the Classes need to the referenced)
    0
    Comment actions Permalink
  • Avatar
    Infogix Support
    Originally posted by: Tim Meagher

    Hi,

    			
    				it was due to having to declare 'import' each class within the JAR...(which is not clear in the documentation - talks about JAR then the Classes need to the referenced)
    			
    
    If this is referring to the Lavastorm documentation, this is probably true.
    That you need to import each class (or use the .* notation to import all multiple from a package) is just part of the Java language.
    We haven't gone and created our own documentation around the Java language and using Java - for hopefully obvious reasons.

    If you are new to Java you should probably start with some of the Java language documentation - e.g: https://docs.oracle.com/javase/tutorial/
    E.g. the section on packages I think has the info you would be looking for here: https://docs.oracle.com/javase/tutor...e/usepkgs.html

    Regards,
    Tim.
    0
    Comment actions Permalink

Please sign in to leave a comment.