db-torque-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Adrian Klingel" <Adrian.Klin...@gpi.com>
Subject Errors while generating peer classes
Date Tue, 20 Apr 2004 15:24:40 GMT
My environment is Oracle 9i R2, JDBC driver ojdbc14.jar, JDK 1.4.2_04, and
Torque 1.3.

I'm getting some errors in velocity.log after I "build -f build-torque.xml"
in the om-template target.  Here are the errors by themselves:

Tue Apr 20 10:59:45 EDT 2004  [error] ResourceManager : unable to find
resource 'VM_global_library.vm' in any resource loader.

Tue Apr 20 10:59:47 EDT 2004  [error] Error in evaluation of == expression.
Both arguments must be of the same Class. Currently left = class
java.lang.Boolean, right = class java.lang.String. om/MapBuilder.vm [line
28, column 28] (ASTEQNode)

Tue Apr 20 11:06:06 EDT 2004  [error] Method parse threw exception for
reference $generator in template om/Control.vm at  [73,11]

And here they are in their native habitat:

Tue Apr 20 10:59:45 EDT 2004   [info] Created: 20 parsers.
Tue Apr 20 10:59:45 EDT 2004   [info] Velocimacro : initialization starting.
Tue Apr 20 10:59:45 EDT 2004   [info] Velocimacro : adding VMs from VM
library template : VM_global_library.vm
Tue Apr 20 10:59:45 EDT 2004  [error] ResourceManager : unable to find
resource 'VM_global_library.vm' in any resource loader.
Tue Apr 20 10:59:45 EDT 2004   [info] Velocimacro : error using  VM library
template VM_global_library.vm :
org.apache.velocity.exception.ResourceNotFoundException: Unable to find
resource 'VM_global_library.vm'
Tue Apr 20 10:59:45 EDT 2004   [info] Velocimacro :  VM library template
macro registration complete.
Tue Apr 20 10:59:45 EDT 2004   [info] Velocimacro : allowInline = true : VMs
can be defined inline in templates
Tue Apr 20 10:59:45 EDT 2004   [info] Velocimacro : allowInlineToOverride =
false : VMs defined inline may NOT replace previous VM definitions
Tue Apr 20 10:59:45 EDT 2004   [info] Velocimacro : allowInlineLocal = false
: VMs defined inline will be  global in scope if allowed.
Tue Apr 20 10:59:45 EDT 2004   [info] Velocimacro : messages on  : VM system
will output logging messages
Tue Apr 20 10:59:45 EDT 2004   [info] Velocimacro : autoload off  : VM
system will not automatically reload global library macros
Tue Apr 20 10:59:45 EDT 2004   [info] Velocimacro : initialization complete.
Tue Apr 20 10:59:45 EDT 2004   [info] Velocity successfully started.
Tue Apr 20 10:59:47 EDT 2004   [info] ResourceManager : found om/Control.vm
with loader org.apache.velocity.runtime.resource.loader.FileResourceLoader
Tue Apr 20 10:59:47 EDT 2004   [info] ResourceManager : found
sql/base/oracle/db.props with loader
org.apache.velocity.runtime.resource.loader.FileResourceLoader
Tue Apr 20 10:59:47 EDT 2004   [info] ResourceManager : found om/Peer.vm
with loader org.apache.velocity.runtime.resource.loader.FileResourceLoader
Tue Apr 20 10:59:47 EDT 2004   [info] ResourceManager : found
om/MapBuilder.vm with loader
org.apache.velocity.runtime.resource.loader.FileResourceLoader
Tue Apr 20 10:59:47 EDT 2004  [error] Error in evaluation of == expression.
Both arguments must be of the same Class. Currently left = class
java.lang.Boolean, right = class java.lang.String. om/MapBuilder.vm [line
28, column 28] (ASTEQNode)
Tue Apr 20 10:59:48 EDT 2004   [info] ResourceManager : found om/Object.vm
with loader org.apache.velocity.runtime.resource.loader.FileResourceLoader
Tue Apr 20 10:59:48 EDT 2004   [info] ResourceManager : found
om/ExtensionObject.vm with loader
org.apache.velocity.runtime.resource.loader.FileResourceLoader
Tue Apr 20 10:59:48 EDT 2004   [info] ResourceManager : found
om/ExtensionPeer.vm with loader
org.apache.velocity.runtime.resource.loader.FileResourceLoader
Tue Apr 20 10:59:48 EDT 2004   [info] ResourceManager : found om/Peer.vm
with loader org.apache.velocity.runtime.resource.loader.FileResourceLoader
Tue Apr 20 10:59:48 EDT 2004   [info] ResourceManager : found
om/MapBuilder.vm with loader
org.apache.velocity.runtime.resource.loader.FileResourceLoader
Tue Apr 20 10:59:48 EDT 2004  [error] Error in evaluation of == expression.
Both arguments must be of the same Class. Currently left = class
java.lang.Boolean, right = class java.lang.String. om/MapBuilder.vm [line
28, column 28] (ASTEQNode)
Tue Apr 20 10:59:48 EDT 2004   [info] ResourceManager : found om/Object.vm
with loader org.apache.velocity.runtime.resource.loader.FileResourceLoader
Tue Apr 20 10:59:48 EDT 2004   [info] ResourceManager : found
om/ExtensionObject.vm with loader
org.apache.velocity.runtime.resource.loader.FileResourceLoader
Tue Apr 20 10:59:48 EDT 2004   [info] ResourceManager : found
om/ExtensionPeer.vm with loader
org.apache.velocity.runtime.resource.loader.FileResourceLoader
Tue Apr 20 10:59:48 EDT 2004   [info] ResourceManager : found om/Peer.vm
with loader org.apache.velocity.runtime.resource.loader.FileResourceLoader
Tue Apr 20 10:59:48 EDT 2004   [info] ResourceManager : found
om/MapBuilder.vm with loader
org.apache.velocity.runtime.resource.loader.FileResourceLoader
Tue Apr 20 10:59:48 EDT 2004  [error] Error in evaluation of == expression.
Both arguments must be of the same Class. Currently left = class
java.lang.Boolean, right = class java.lang.String. om/MapBuilder.vm [line
28, column 28] (ASTEQNode)
Tue Apr 20 10:59:48 EDT 2004   [info] ResourceManager : found om/Object.vm
with loader org.apache.velocity.runtime.resource.loader.FileResourceLoader
Tue Apr 20 10:59:48 EDT 2004   [info] ResourceManager : found
om/ExtensionObject.vm with loader
org.apache.velocity.runtime.resource.loader.FileResourceLoader
Tue Apr 20 10:59:48 EDT 2004   [info] ResourceManager : found
om/ExtensionPeer.vm with loader
org.apache.velocity.runtime.resource.loader.FileResourceLoader
Tue Apr 20 10:59:48 EDT 2004   [info] ResourceManager : found om/Peer.vm
with loader org.apache.velocity.runtime.resource.loader.FileResourceLoader
Tue Apr 20 10:59:48 EDT 2004   [info] ResourceManager : found
om/MapBuilder.vm with loader
org.apache.velocity.runtime.resource.loader.FileResourceLoader
Tue Apr 20 10:59:48 EDT 2004  [error] Error in evaluation of == expression.
Both arguments must be of the same Class. Currently left = class
java.lang.Boolean, right = class java.lang.String. om/MapBuilder.vm [line
28, column 28] (ASTEQNode)
Tue Apr 20 11:06:06 EDT 2004  [error] Method parse threw exception for
reference $generator in template om/Control.vm at  [73,11]

Do any of these ring a bell?


---------------------------------------------------------------------
To unsubscribe, e-mail: torque-user-unsubscribe@db.apache.org
For additional commands, e-mail: torque-user-help@db.apache.org


Mime
View raw message