我对grails有点新意,但是当我尝试运行我的项目时,它失败了,我得到了以下的栈跟踪:
| Loading Grails 2.0.4
| Configuring classpath.
| Environment set to development.....
| Packaging Grails application....
| Compiling 1 source files..
| Compiling 1 source files.....
| Running Grails application
| Error 2013-06-26 14:01:37,372 [pool-7-thread-1] ERROR context.GrailsContextLoader - Error executing bootstraps: Error creating bean with name 'transactionManagerPostProcessor': Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'transactionManager': Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean …Run Code Online (Sandbox Code Playgroud) 当我将纹理应用于形状时,我一直看到它被镜像.GLU.gluLookAt设置为5个单位,因此它是GLU.gluLookAt(gl,0,0,5,0,0,0,0,2,0);. 如果下降5个单位,则x轴将反转,这将是一个更大的问题.
你能告诉我如何将正在加载的位图镜像为纹理吗?我想保持轴的位置和绘制形状的方式,我只想自动镜像位图.
你能告诉我怎么做吗?也许给我一个代码序列来反映x轴上的位图?
我有一个git repo离线副本,一段时间后,其他人可能对此做了更改。如何使我的存储库与新更改保持同步?我如何检查我的仓库是最新的?