Share

MySQL2JSP

The forum address has changed, you have been automatically redirected. Please update any bookmarks to use the new URL.

Subscribe

generate no files except empty folders. why?

You are viewing a single message from this topic. View all messages.

  1. 2006-11-20 13:07:38 UTC
    the version is MySQL2JSPbinWitLIBS.0.3.1.1.jar. The collection test message is normal("Connection to the database was successful."). But there were just some empty folders without files when i clicked the "generate", and the message shown on the panel is listed below(only 4 lines):

    C:\11\1\WEB-INF\classes\ folder was created successfully.
    C:\11\1\WEB-INF\lib\ folder was created successfully.
    C:\11\1\src\ folder was created successfully.
    C:\11\1\theme\ folder was created successfully.

    i had try both "all jps" and "jsp & servlet" modes, and the result was the same.
    the configration information of my pc is list below:
    OS: windows xp2
    mysql: mysql-5.0.22
    java: java version "1.5.0_09" Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_09-b03)
    Java HotSpot(TM) Client VM (build 1.5.0_09-b03, mixed mode, sharing)

    velocity.log's info:
    Mon Nov 20 21:03:39 CST 2006 [debug] AvalonLogSystem initialized using logfile 'velocity.log'
    Mon Nov 20 21:03:39 CST 2006 [info] **************************************************************
    Mon Nov 20 21:03:39 CST 2006 [info] Starting Jakarta Velocity v1.4
    Mon Nov 20 21:03:39 CST 2006 [info] RuntimeInstance initializing.
    Mon Nov 20 21:03:39 CST 2006 [info] Default Properties File: org\apache\velocity\runtime\defaults\velocity.properties
    Mon Nov 20 21:03:39 CST 2006 [info] Trying to use logger class org.apache.velocity.runtime.log.AvalonLogSystem
    Mon Nov 20 21:03:39 CST 2006 [info] Using logger class org.apache.velocity.runtime.log.AvalonLogSystem
    Mon Nov 20 21:03:39 CST 2006 [info] Default ResourceManager initializing. (class org.apache.velocity.runtime.resource.ResourceManagerImpl)
    Mon Nov 20 21:03:39 CST 2006 [info] Resource Loader Instantiated: org.apache.velocity.runtime.resource.loader.FileResourceLoader
    Mon Nov 20 21:03:39 CST 2006 [info] FileResourceLoader : initialization starting.
    Mon Nov 20 21:03:39 CST 2006 [info] FileResourceLoader : adding path '.'
    Mon Nov 20 21:03:39 CST 2006 [info] FileResourceLoader : initialization complete.
    Mon Nov 20 21:03:39 CST 2006 [info] ResourceCache : initialized. (class org.apache.velocity.runtime.resource.ResourceCacheImpl)
    Mon Nov 20 21:03:39 CST 2006 [info] Default ResourceManager initialization complete.
    Mon Nov 20 21:03:39 CST 2006 [info] Loaded System Directive: org.apache.velocity.runtime.directive.Literal
    Mon Nov 20 21:03:39 CST 2006 [info] Loaded System Directive: org.apache.velocity.runtime.directive.Macro
    Mon Nov 20 21:03:39 CST 2006 [info] Loaded System Directive: org.apache.velocity.runtime.directive.Parse
    Mon Nov 20 21:03:39 CST 2006 [info] Loaded System Directive: org.apache.velocity.runtime.directive.Include
    Mon Nov 20 21:03:39 CST 2006 [info] Loaded System Directive: org.apache.velocity.runtime.directive.Foreach
    Mon Nov 20 21:03:39 CST 2006 [info] Created: 20 parsers.
    Mon Nov 20 21:03:39 CST 2006 [info] Velocimacro : initialization starting.
    Mon Nov 20 21:03:39 CST 2006 [info] Velocimacro : adding VMs from VM library template : VM_global_library.vm
    Mon Nov 20 21:03:39 CST 2006 [error] ResourceManager : unable to find resource 'VM_global_library.vm' in any resource loader.
    Mon Nov 20 21:03:39 CST 2006 [info] Velocimacro : error using VM library template VM_global_library.vm : org.apache.velocity.exception.ResourceNotFoundException: Unable to find resource 'VM_global_library.vm'
    Mon Nov 20 21:03:39 CST 2006 [info] Velocimacro : VM library template macro registration complete.
    Mon Nov 20 21:03:39 CST 2006 [info] Velocimacro : allowInline = true : VMs can be defined inline in templates
    Mon Nov 20 21:03:39 CST 2006 [info] Velocimacro : allowInlineToOverride = false : VMs defined inline may NOT replace previous VM definitions
    Mon Nov 20 21:03:39 CST 2006 [info] Velocimacro : allowInlineLocal = false : VMs defined inline will be global in scope if allowed.
    Mon Nov 20 21:03:39 CST 2006 [info] Velocimacro : messages on : VM system will output logging messages
    Mon Nov 20 21:03:39 CST 2006 [info] Velocimacro : autoload off : VM system will not automatically reload global library macros
    Mon Nov 20 21:03:39 CST 2006 [info] Velocimacro : initialization complete.
    Mon Nov 20 21:03:39 CST 2006 [info] Velocity successfully started.
    Mon Nov 20 21:03:39 CST 2006 [error] ResourceManager : unable to find resource 'templates/mainMenu.jsp.vm' in any resource loader.


    could nanominister or someone tell me how to solve the problem, and thanks a lot for attention.
< Previous | 1 | Next >

Add a Reply

This forum does not allow anonymous participation.

Log in to add a reply. Not registered? Create an account to participate and receive email updates when replies are posted to this topic.